From e70d22180d7397daf850957560a155d85b9a8afc Mon Sep 17 00:00:00 2001 From: cfif Date: Fri, 21 Nov 2025 09:54:16 +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 --- DeviceStorage.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DeviceStorage.c b/DeviceStorage.c index 0b817a3..29a2b24 100644 --- a/DeviceStorage.c +++ b/DeviceStorage.c @@ -93,16 +93,17 @@ void DeviceStorage_InitCommon(tDeviceStorage *env, tStorageInterface *storageCal } SECT_SRAM_NVM uint8_t dataReservedParamStore[nf_storage_param_size]; -extern uint32_t __caldata_start[]; bool DeviceStorage_Init(tDeviceStorage *env, tStorageInterface *storageCalibInterface, tStorageInterface *storageParamInterface, tLoggerInterface *logger) { + extern uint32_t __itcm_start[]; + env->logger = logger; env->dataParam = (tDeviceDataNonVolatile *) dataReservedParamStore; - env->dataCalib = (void *) __caldata_start; + env->dataCalib = (void *) __itcm_start; DeviceStorage_InitCommon(env, storageParamInterface, nf_storage_param_size, storageCalibInterface, nf_storage_calib_size);