Make it compile with PICO SDK 2.0.0

This commit is contained in:
Martin Brodbeck 2024-08-13 14:38:24 +02:00
parent 972c6c49ff
commit 680dde14b8
4 changed files with 7 additions and 5 deletions

View file

@ -5,6 +5,7 @@
#include "bsp/board.h"
#include "hardware/adc.h"
#include "pico/flash.h"
#include "pico/binary_info/code.h"
#include "pico/multicore.h"
#include "pico/stdlib.h"

View file

@ -1,6 +1,7 @@
#include <cstring>
#include "pico/stdlib.h"
#include "pico/flash.h"
#include "settings.h"
@ -66,4 +67,4 @@ Settings read_settings()
}
return settings;
}
}

View file

@ -1,6 +1,6 @@
#pragma once
#include "pico/flash.h"
#include "hardware/flash.h"
const uint16_t MAGIC_NUMBER = 4;