Обновление

This commit is contained in:
cfif 2025-12-22 17:57:29 +03:00
parent 9e8affc91f
commit bbf6c12136
2 changed files with 4 additions and 1 deletions

View File

@ -111,7 +111,7 @@ static _Noreturn void CanSpamTransmitter_Thread(tCanSpamTransmitter *env) {
}
osMutexRelease(env->access);
env->ioCanFrame->transmit(env->ioCanFrame->env, (uint8_t *) &env->canFrame, env->canFrame.dlc, 10);
env->ioCanFrame->transmit(env->ioCanFrame->env, (uint8_t *) &env->canFrame, env->canFrame.dlc, PROTOCOL_CAN_ADR_RAW, PROTOCOL_CAN_TYPE_RAW, 10);
} else {
osMutexRelease(env->access);
SystemDelayMs(10);

View File

@ -9,6 +9,9 @@
#include "CanSerialPortFrame.h"
#include "ccu_candb-binutil.h"
#define PROTOCOL_CAN_ADR_RAW 0x777
#define PROTOCOL_CAN_TYPE_RAW 0x0
typedef struct {
tSerialPortFrameIO *ioCanFrame;