mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 09:49:32 +02:00
Fix native CAN speed changing using new library, with new CanBattery API (currently only used by BMW PHEV).
This commit is contained in:
parent
577a353285
commit
db9537a34b
6 changed files with 64 additions and 28 deletions
|
@ -5,8 +5,8 @@ void transmit_can_frame_to_interface(const CAN_frame* tx_frame, int interface) {
|
|||
|
||||
void register_can_receiver(CanReceiver* receiver, CAN_Interface interface, CAN_Speed speed) {}
|
||||
|
||||
CAN_Speed change_can_speed(CAN_Interface interface, CAN_Speed speed) {
|
||||
return CAN_Speed::CAN_SPEED_500KBPS;
|
||||
bool change_can_speed(CAN_Interface interface, CAN_Speed speed) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void stop_can() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue