mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 10:49:42 +02:00
update name of ESP32 CAN library from ThomasBarth-ESP32-CAN-Driver to miwagner-ESP32-Arduino-CAN
- this change is implemented as the README.md file states that the miwagner/ESP32-Arduino-CAN is used in a slightly modified form
This commit is contained in:
parent
1ae7d51ea9
commit
e1c84e32f4
30 changed files with 39 additions and 39 deletions
19
Software/src/lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h
Normal file
19
Software/src/lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#ifndef ESP32CAN_H
|
||||
#define ESP32CAN_H
|
||||
|
||||
#include "../../lib/miwagner-ESP32-Arduino-CAN/CAN.h"
|
||||
#include "../../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h"
|
||||
extern uint8_t LEDcolor;
|
||||
|
||||
class ESP32CAN {
|
||||
public:
|
||||
bool tx_ok = true;
|
||||
int CANInit();
|
||||
int CANConfigFilter(const CAN_filter_t* p_filter);
|
||||
int CANWriteFrame(const CAN_frame_t* p_frame);
|
||||
int CANStop();
|
||||
void CANSetCfg(CAN_device_t* can_cfg);
|
||||
};
|
||||
|
||||
extern ESP32CAN ESP32Can;
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue