diff --git a/StorageOnFlash.h b/StorageOnFlash.h index cf9a1ee..5841464 100644 --- a/StorageOnFlash.h +++ b/StorageOnFlash.h @@ -7,11 +7,11 @@ #include "StorageOnFlashFlagchip.h" -// 8 - сектора (8 * 2048) +#define nf_storage_calib_size (8 * FLASH_PAGE_SIZE) #define nf_storage_calib_mainFlashPageAddress 0x04000000 #define nf_storage_calib_recoveryFlashPageAddress 0x04004000 -// 2 - сектора (2 * 2048) +#define nf_storage_param_size (2 * FLASH_PAGE_SIZE) #define nf_storage_param_mainFlashPageAddress 0x04005000 #define nf_storage_param_recoveryFlashPageAddress 0x04006000