Обновление платы на V2

This commit is contained in:
cfif 2026-05-19 16:29:49 +03:00
parent 8851e61335
commit 5879510f26
2 changed files with 2 additions and 1 deletions

View File

@ -265,6 +265,7 @@ void set_CanSpamTransmitter(tCanSpamTransmitter *env) {
if (osMutexAcquire(env->access, 5000) == osOK) {
memcpy(&ccu_candb_tx.CCU_Errors, &rtY.CCU_Errors_model, sizeof(ccu_candb_tx.CCU_Errors));
memcpy(&ccu_candb_tx.CCU_Stat1, &rtY.CCU_Stat1_model, sizeof(ccu_candb_tx.CCU_Stat1));
memcpy(&ccu_candb_tx.CCU_Stat2, &rtY.CCU_Stat2_model, sizeof(ccu_candb_tx.CCU_Stat2));
osMutexRelease(env->access);
} else {
LoggerErrorStatic(LOGGER, LOG_SIGN, "Access error set_CanSpamTransmitter");

View File

@ -11,7 +11,7 @@
#include "LoggerInterface.h"
#define CCU_Stat1_SEND 1
#define CCU_Stat2_SEND 0
#define CCU_Stat2_SEND 1
#define CCU_Stat3_SEND 0
#define CCU_Errors_SEND 1