Обновление
This commit is contained in:
parent
9e8affc91f
commit
bbf6c12136
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue