diff --git a/DiagnosticTask.c b/DiagnosticTask.c index 1c75a39..c667285 100644 --- a/DiagnosticTask.c +++ b/DiagnosticTask.c @@ -148,7 +148,7 @@ void set_NoBitsDTC(tDiagnostic *env, bool noBitsDTC) { } 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)); osMutexRelease(env->access); } else {