mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-13 03:34:28 +05:00
fix heap monitoring on esp32
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
#include "ESPTelnetStream.h"
|
||||
#endif
|
||||
|
||||
#if defined(ESP32)
|
||||
#if defined(ARDUINO_ARCH_ESP32)
|
||||
#include <ESP32Scheduler.h>
|
||||
#elif defined(ESP8266)
|
||||
#elif defined(ARDUINO_ARCH_ESP8266)
|
||||
#include <Scheduler.h>
|
||||
#elif
|
||||
#error Wrong board. Supported boards: esp8266, esp32
|
||||
@@ -117,7 +117,7 @@ void setup() {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
#if defined(ESP32)
|
||||
#if defined(ARDUINO_ARCH_ESP32)
|
||||
vTaskDelete(NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user