From 3ed24c245e7259986dd6e06b620adf4ab49667bb Mon Sep 17 00:00:00 2001 From: cfif Date: Mon, 17 Nov 2025 16:28:51 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- StorageOnFlash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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