mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 01:39:30 +02:00
Include CAN interface number in logs (with distinct TX/RX)
This commit is contained in:
parent
b33f42c9c5
commit
9554cbf808
7 changed files with 29 additions and 21 deletions
|
@ -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) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue