diff --git a/306-controller_interface.X/middleware/can_interface.c b/306-controller_interface.X/middleware/can_interface.c index 2656dc9..cac0487 100644 --- a/306-controller_interface.X/middleware/can_interface.c +++ b/306-controller_interface.X/middleware/can_interface.c @@ -52,7 +52,7 @@ bool CAN_processEvent(Event* ev) { if (ev->id == evCAsend) { uCAN_MSG canMsg; canMsg.frame.idType = 0; // I don't understand what is it - canMsg.frame.dlc = 8; // 8 bytes to send + canMsg.frame.dlc = 4; // 4 bytes to send canMsg.frame.rtr = 0; // no remote frame canMsg.frame.data0 = (uint8_t) data; data = data >> 8;