diff --git a/DiagnosticTask.c b/DiagnosticTask.c index 216c600..2069eed 100644 --- a/DiagnosticTask.c +++ b/DiagnosticTask.c @@ -404,6 +404,8 @@ void set_Dtc_state_error(tDiagnostic *env) { if (osMutexAcquire(env->access, 1000) == osOK) { memcpy(&dtc_state_error, &rtDW.dtc_state_error_model, sizeof(rtDW.dtc_state_error_model)); osMutexRelease(env->access); + } else { + LoggerErrorStatic(LOGGER, LOG_SIGN, "Access error set_Dtc_state_error"); } }