Обновление
This commit is contained in:
parent
06416e5270
commit
7bc7a0d335
|
|
@ -98,10 +98,10 @@ bool DeviceStorage_Init(tDeviceStorage *env, tStorageInterface *storageCalibInte
|
||||||
env->logger = logger;
|
env->logger = logger;
|
||||||
|
|
||||||
env->dataParam = (tDeviceDataNonVolatile *) dataReservedParamStore;
|
env->dataParam = (tDeviceDataNonVolatile *) dataReservedParamStore;
|
||||||
env->dataCalib = (void *) __itcm_start;
|
env->dataCalib = (void *) __itcm_start + 4;
|
||||||
|
|
||||||
DeviceStorage_InitCommon(env, storageParamInterface, nf_storage_param_size,
|
DeviceStorage_InitCommon(env, storageCalibInterface, nf_storage_calib_size,
|
||||||
storageCalibInterface, nf_storage_calib_size);
|
storageParamInterface, nf_storage_param_size);
|
||||||
|
|
||||||
bool resultParam = DeviceStorage_LoadParam(env);
|
bool resultParam = DeviceStorage_LoadParam(env);
|
||||||
bool resultCalib = DeviceStorage_LoadCalib(env);
|
bool resultCalib = DeviceStorage_LoadCalib(env);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue