Battery-Emulator/test/emul/can.cpp

22 lines
650 B
C++

#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, CAN_Interface interface) {}
void register_can_receiver(CanReceiver* receiver, CAN_Interface interface, CAN_Speed speed) {}
bool change_can_speed(CAN_Interface interface, CAN_Speed speed) {
return true;
}
void stop_can() {}
void restart_can() {}
char const* getCANInterfaceName(CAN_Interface) {
return "Foobar";
}
void register_transmitter(Transmitter* transmitter) {}
void dump_can_frame(CAN_frame& frame, CAN_Interface interface, frameDirection msgDir) {}