Include CAN interface number in logs (with distinct TX/RX)

This commit is contained in:
Jonny 2025-09-12 15:19:32 +01:00
parent b33f42c9c5
commit 9554cbf808
7 changed files with 29 additions and 21 deletions

View file

@ -1,7 +1,7 @@
#include "../../Software/src/communication/Transmitter.h"
#include "../../Software/src/communication/can/comm_can.h"
void transmit_can_frame_to_interface(const CAN_frame* tx_frame, int interface) {}
void transmit_can_frame_to_interface(const CAN_frame* tx_frame, CAN_Interface interface) {}
void register_can_receiver(CanReceiver* receiver, CAN_Interface interface, CAN_Speed speed) {}
@ -19,4 +19,4 @@ char const* getCANInterfaceName(CAN_Interface) {
void register_transmitter(Transmitter* transmitter) {}
void dump_can_frame(CAN_frame& frame, frameDirection msgDir) {}
void dump_can_frame(CAN_frame& frame, CAN_Interface interface, frameDirection msgDir) {}