Обновление

This commit is contained in:
cfif 2026-04-29 15:48:38 +03:00
parent 53873f7533
commit 9d44036d29
1 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,7 @@ static void ListenCanSpamReceiver(tCanSpamReceiver *env) {
if (recv == 0)
return;
if (osMutexAcquire(env->access, 100) == osOK) {
if (osMutexAcquire(env->access, 1000) == osOK) {
uint32_t id = env->canFrame.standard_id;
@ -40,6 +40,8 @@ static void ListenCanSpamReceiver(tCanSpamReceiver *env) {
uint32_t result = ccu_candb_Receive(&ccu_candb_rx, env->canFrame.data, id, env->canFrame.dlc);
osMutexRelease(env->access);
} else {
LoggerErrorStatic(LOGGER, LOG_SIGN, "Access error ListenCanSpamReceiver");
}
}