mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Add initial files
This commit is contained in:
parent
a1fd6fa19f
commit
52254f17c4
11 changed files with 47187 additions and 0 deletions
20
Software/ESP32CAN.cpp
Normal file
20
Software/ESP32CAN.cpp
Normal file
|
@ -0,0 +1,20 @@
|
|||
#include "ESP32CAN.h"
|
||||
|
||||
int ESP32CAN::CANInit()
|
||||
{
|
||||
return CAN_init();
|
||||
}
|
||||
int ESP32CAN::CANWriteFrame(const CAN_frame_t* p_frame)
|
||||
{
|
||||
return CAN_write_frame(p_frame);
|
||||
}
|
||||
int ESP32CAN::CANStop()
|
||||
{
|
||||
return CAN_stop();
|
||||
}
|
||||
int ESP32CAN::CANConfigFilter(const CAN_filter_t* p_filter)
|
||||
{
|
||||
return CAN_config_filter(p_filter);
|
||||
}
|
||||
|
||||
ESP32CAN ESP32Can;
|
Loading…
Add table
Add a link
Reference in a new issue