mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 10:49:42 +02:00
Refactoring: Scalability and performance (#252)
Refactoring v5.7 step 1
This commit is contained in:
parent
5a5cfc433b
commit
ffa7a54f20
77 changed files with 926 additions and 286 deletions
|
@ -1,6 +1,8 @@
|
|||
#include "BYD-CAN.h"
|
||||
#include "../include.h"
|
||||
#ifdef BYD_CAN
|
||||
#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h"
|
||||
#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h"
|
||||
#include "BYD-CAN.h"
|
||||
|
||||
/* Do not change code below unless you are sure what you are doing */
|
||||
static unsigned long previousMillis2s = 0; // will store last time a 2s CAN Message was send
|
||||
|
@ -259,3 +261,4 @@ void send_intial_data() {
|
|||
ESP32Can.CANWriteFrame(&BYD_3D0_2);
|
||||
ESP32Can.CANWriteFrame(&BYD_3D0_3);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue