From b9fd39b762d52c6790570e4bfb2d657337bc7426 Mon Sep 17 00:00:00 2001 From: cfif Date: Tue, 28 Apr 2026 10:38:59 +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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DeviceStorage.c b/DeviceStorage.c index 65102e5..de02994 100644 --- a/DeviceStorage.c +++ b/DeviceStorage.c @@ -147,6 +147,8 @@ void LoadFromStorageToStatusData(tDeviceStorage *env, ecu_identification_t *ecu) if (osMutexAcquire(env->dumpObserver.accessDumper, 1000) == osOK) { memcpy(ecu, &env->dataParam->device.identification, sizeof(ecu_identification_t)); osMutexRelease(env->dumpObserver.accessDumper); + } else { + LoggerErrorStatic(LOGGER, LOG_SIGN, "Access error LoadFromStorageToStatusData"); } } @@ -155,6 +157,8 @@ void SaveToStorageFromStatusData(tDeviceStorage *env, ecu_identification_t *ecu) if (osMutexAcquire(env->dumpObserver.accessDumper, 1000) == osOK) { memcpy(&env->dataParam->device.identification, ecu, sizeof(ecu_identification_t)); osMutexRelease(env->dumpObserver.accessDumper); + } else { + LoggerErrorStatic(LOGGER, LOG_SIGN, "Access error SaveToStorageFromStatusData"); } DeviceStorageParam_DelayedDump(env);