Files
ESPEasy/src/ESPEasy-Globals.cpp
T
TD-er cc7602539f [Build] Fix building ESPEasy in PlatformIO 6.1.7 (#4656)
* [PIO build] Update build scripts for scons 4.5.x

* [Build] Fix build error due to strange cast of double type in rules

* [Build] Work-around for new ESP8266 macro of round()

Whoever thought it would be a good idea to make round() an explicit cast to `long`....

* [Build ESP8266] Replace calls to round()

* [Build] Use HWrandom to overcome build issues

* [Build] Fix missing include

* [Build] Remove extern "C" to allow for (C++) function overloading

* [Build] include ESPEasy_common.h instead of Arduino.h where possible

* [Cleanup] Moving not commonly needed code out of ESPEasy_common.h

* [Build] Remove "Helpers" folder from concat script

* [Build] Include ESPEasy_common.h instead of ESPEasy_config.h

* [Build] Add Helpers folder to concat .cpp for ESP8266

* [Build] Add ESPEasyCore to concat cpp & split global RulesCalculate obj

* [Build test] Disable lots of plugins + not concat Helpers/*.cpp

* [Build test] Disable P037 to test build failures

* [Build test] Undef round right after include <Arduino.h>

* [Build] Revert disabling plugins + concat Helpers/*.cpp

* [Build] Include cmath after Arduino.h to redefine round()

* [Build] Fix ESP32 build error

* [Build] Add ESP32_CLASSIC define for ESP32 IR build
2023-05-10 23:00:33 +02:00

35 lines
428 B
C++

#include "ESPEasy-Globals.h"
boolean printToWeb = false;
String printWebString;
boolean printToWebJSON = false;
unsigned long timermqtt_interval = 250;
unsigned long lastSend = 0;
unsigned long lastWeb = 0;
unsigned long wdcounter = 0;
unsigned long timerAwakeFromDeepSleep = 0;
#if FEATURE_ADC_VCC
float vcc = -1.0f;
#endif
bool shouldReboot(false);
bool firstLoop(true);
boolean UseRTOSMultitasking(false);