1
0
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:
whowechina 2023-10-05 13:00:38 +08:00
parent 5353ab0e25
commit 83b97d3504
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -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)) {