Обновление
This commit is contained in:
parent
feb57576c9
commit
e70d22180d
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue