diff --git a/DeviceStorage.c b/DeviceStorage.c index 369eb8e..4244859 100644 --- a/DeviceStorage.c +++ b/DeviceStorage.c @@ -36,6 +36,7 @@ bool DeviceStorage_LoadParam(tDeviceStorage *env) { memcpy(&env->dataParam->device.identification.Boot_SW_Fingerprint, &firmwareMetaMap_Boot->fingerprint, sizeof(tFingerprintDev)); memcpy(&env->dataParam->device.identification.Application_SW_Fingerprint, &firmwareMetaMap_Main->fingerprint, sizeof(tFingerprintDev)); + if (isLoad) { if (env->dataParam->version_param == DEVICE_DATA_VERSION_PARAM) { LoggerInfoStatic(LOGGER, LOG_SIGN, "Parameters loaded successfully");