mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
Some precommit fixes
This commit is contained in:
parent
957a91e55e
commit
527bc19649
4 changed files with 10 additions and 8 deletions
|
@ -4,11 +4,11 @@
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|
||||||
class MyTimer {
|
class MyTimer {
|
||||||
public:
|
public:
|
||||||
MyTimer(unsigned long interval);
|
MyTimer(unsigned long interval);
|
||||||
bool elapsed();
|
bool elapsed();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
unsigned long interval;
|
unsigned long interval;
|
||||||
unsigned long previousMillis;
|
unsigned long previousMillis;
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,7 +12,9 @@
|
||||||
#include "../../lib/me-no-dev-ESPAsyncWebServer/src/ESPAsyncWebServer.h"
|
#include "../../lib/me-no-dev-ESPAsyncWebServer/src/ESPAsyncWebServer.h"
|
||||||
#include "../../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h"
|
#include "../../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h"
|
||||||
#include "../config.h" // Needed for LED defines
|
#include "../config.h" // Needed for LED defines
|
||||||
#include "../mqtt/mqtt.h" // Needed for LED defines
|
#ifdef MQTT
|
||||||
|
#include "../mqtt/mqtt.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
extern uint16_t SOC; //SOC%, 0-100.00 (0-10000)
|
extern uint16_t SOC; //SOC%, 0-100.00 (0-10000)
|
||||||
extern uint16_t StateOfHealth; //SOH%, 0-100.00 (0-10000)
|
extern uint16_t StateOfHealth; //SOH%, 0-100.00 (0-10000)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue