mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
Submit to precommit
This commit is contained in:
parent
527bc19649
commit
44e8e0bb06
4 changed files with 7 additions and 7 deletions
|
@ -4,11 +4,11 @@
|
|||
#include <Arduino.h>
|
||||
|
||||
class MyTimer {
|
||||
public:
|
||||
public:
|
||||
MyTimer(unsigned long interval);
|
||||
bool elapsed();
|
||||
|
||||
private:
|
||||
private:
|
||||
unsigned long interval;
|
||||
unsigned long previousMillis;
|
||||
};
|
||||
|
|
|
@ -133,10 +133,10 @@ void init_webserver() {
|
|||
// Start server
|
||||
server.begin();
|
||||
|
||||
#ifdef MQTT
|
||||
#ifdef MQTT
|
||||
// Init MQTT
|
||||
init_mqtt();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
void init_WiFi_AP() {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "../../lib/me-no-dev-AsyncTCP/src/AsyncTCP.h"
|
||||
#include "../../lib/me-no-dev-ESPAsyncWebServer/src/ESPAsyncWebServer.h"
|
||||
#include "../../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h"
|
||||
#include "../config.h" // Needed for LED defines
|
||||
#include "../config.h" // Needed for LED defines
|
||||
#ifdef MQTT
|
||||
#include "../mqtt/mqtt.h"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue