Обновление

This commit is contained in:
cfif 2026-04-29 18:06:45 +03:00
parent 55b0ff2711
commit 2a7f6dbd2a
1 changed files with 1 additions and 1 deletions

View File

@ -402,7 +402,7 @@ void set_NoBitsDTC(tDiagnostic *env, bool noBitsDTC) {
// Ошибки DTC
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));
memcpy(&dtc_state_error, &rtY.dtc_state_error_model, sizeof(dtc_state_error));
osMutexRelease(env->access);
} else {
LoggerErrorStatic(LOGGER, LOG_SIGN, "Access error set_Dtc_state_error");