Обновление 23.06.2026
This commit is contained in:
parent
5478dcf141
commit
993a7db632
|
|
@ -148,7 +148,7 @@ void set_NoBitsDTC(tDiagnostic *env, bool noBitsDTC) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_Dtc_state(tDiagnostic *env) {
|
void set_Dtc_state(tDiagnostic *env) {
|
||||||
if (osMutexAcquire(env->access, 1000) == osOK) {
|
if (osMutexAcquire(env->access, 5000) == osOK) {
|
||||||
memcpy(&dtc_state_error, &rtY.dtc_state_error_model, sizeof(dtc_state_error));
|
memcpy(&dtc_state_error, &rtY.dtc_state_error_model, sizeof(dtc_state_error));
|
||||||
osMutexRelease(env->access);
|
osMutexRelease(env->access);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue