mirror of
https://github.com/whowechina/iidx_pico.git
synced 2024-11-12 01:10:50 +01:00
New flash magic to get rid of old corrupted data
This commit is contained in:
parent
5353ab0e25
commit
83b97d3504
Binary file not shown.
@ -27,7 +27,7 @@ static struct {
|
||||
} modules[8] = {0};
|
||||
static int module_num = 0;
|
||||
|
||||
#define SAVE_PAGE_MAGIC 0x13424321
|
||||
#define SAVE_PAGE_MAGIC 0xcafe4321
|
||||
#define SAVE_SECTOR_OFFSET (PICO_FLASH_SIZE_BYTES - FLASH_SECTOR_SIZE)
|
||||
|
||||
typedef struct __attribute ((packed)) {
|
||||
|
Loading…
Reference in New Issue
Block a user