From 448b5e66adc77c8ad3a975b16558c3cd89ca28e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Heredero?= Date: Wed, 30 Aug 2023 16:20:41 +0200 Subject: [PATCH] fix 1 byte sending --- 306-controller_interface.X/middleware/can_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/306-controller_interface.X/middleware/can_interface.h b/306-controller_interface.X/middleware/can_interface.h index 79d7655..b76967b 100644 --- a/306-controller_interface.X/middleware/can_interface.h +++ b/306-controller_interface.X/middleware/can_interface.h @@ -83,7 +83,7 @@ void CAN_Send(uint8_t idRecipient, uint8_t idMsg, uint32_t data); void CAN_send_4_bytes(uint8_t idRecipient, uint8_t idMsg, uint8_t byte0, uint8_t byte1, uint8_t byte2, uint8_t byte3); void CAN_send_2_bytes(uint8_t idRecipient, uint8_t idMsg, uint16_t data); -void CAN_send_1_byte(uint8_t idRecipient, uint8_t idMsg, uint8_t byte0); +void CAN_send_1_byte(uint8_t idRecipient, uint8_t idMsg, uint8_t data); void CAN_send_0_byte(uint8_t idRecipient, uint8_t idMsg); /***********