Add initial files

This commit is contained in:
Daniel Öster 2023-02-19 11:22:53 -08:00 committed by GitHub
parent a1fd6fa19f
commit 52254f17c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 47187 additions and 0 deletions

20
Software/ESP32CAN.cpp Normal file
View 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;