mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
prevent heartbeat with standalone
This commit is contained in:
@@ -245,10 +245,10 @@ void System::upload_status(bool in_progress) {
|
|||||||
// checks system health and handles LED flashing wizardry
|
// checks system health and handles LED flashing wizardry
|
||||||
void System::loop() {
|
void System::loop() {
|
||||||
#ifndef EMSESP_STANDALONE
|
#ifndef EMSESP_STANDALONE
|
||||||
|
|
||||||
if (syslog_enabled_) {
|
if (syslog_enabled_) {
|
||||||
syslog_.loop();
|
syslog_.loop();
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
led_monitor(); // check status and report back using the LED
|
led_monitor(); // check status and report back using the LED
|
||||||
system_check(); // check system health
|
system_check(); // check system health
|
||||||
@@ -272,6 +272,9 @@ void System::loop() {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void System::show_mem(const char * note) {
|
void System::show_mem(const char * note) {
|
||||||
|
|||||||
Reference in New Issue
Block a user