Обновление

This commit is contained in:
cfif 2025-11-21 09:54:16 +03:00
parent feb57576c9
commit e70d22180d
1 changed files with 3 additions and 2 deletions

View File

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