Make it compile with PICO SDK 2.0.0
This commit is contained in:
parent
972c6c49ff
commit
680dde14b8
4 changed files with 7 additions and 5 deletions
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "pico/flash.h"
|
||||
#include "hardware/flash.h"
|
||||
|
||||
const uint16_t MAGIC_NUMBER = 4;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue