Compare commits

..

No commits in common. "4c1df2354b49235e027ce7d4341f2b3729e79d77" and "711beabb8ebff4ec5b7ee4ea1c6bf95bded986ff" have entirely different histories.

2 changed files with 8 additions and 8 deletions

View File

@ -156,10 +156,10 @@ void SerialPorts_Init(tRs485DirectionPins *power) {
vCanSerialPorts_InitRCC();
CanHWControlSet();
vCanSerialPort_InitCAN1(&env->SerialPortFrameCan1);
vCanSerialPort_InitCAN1(&env->SerialPortCan1);
vCanSerialPort_InitCAN2(&env->SerialPortFrameCan2);
env->SerialPortFrameCan2IO = CanPortFrame_GetIo(&env->SerialPortFrameCan2);
vCanSerialPort_InitCAN2(&env->SerialPortCan2);
env->SerialPortCan2IO = CanPort_GetIo(&env->SerialPortCan2);
}

View File

@ -10,7 +10,7 @@
#include "GpioPin.h"
#include "SerialPortP2p.h"
#include "SerialPort_USB.h"
#include "CanSerialPortFrame.h"
#include "CanSerialPort.h"
typedef struct {
tGpioPin receive;
@ -41,11 +41,11 @@ typedef struct {
TSerialPortUsbNation SerialPortUsb;
tSerialPortIO SerialPortUsbIO;
tCanSerialPortFrameNation SerialPortFrameCan1;
tSerialPortFrameIO SerialPortFrameCan1IO;
tCanSerialPortNation SerialPortCan1;
tSerialPortIO SerialPortCan1IO;
tCanSerialPortFrameNation SerialPortFrameCan2;
tSerialPortFrameIO SerialPortFrameCan2IO;
tCanSerialPortNation SerialPortCan2;
tSerialPortIO SerialPortCan2IO;
} tSerialPorts;
extern tSerialPorts SERIAL_PORTS;