diff --git a/src/MainTask.h b/src/MainTask.h index f1d7be7..6aaa1b0 100644 --- a/src/MainTask.h +++ b/src/MainTask.h @@ -65,7 +65,7 @@ protected: this->heapSize = ESP.getHeapSize(); #elif defined(ARDUINO_ARCH_ESP8266) this->heapSize = 81920; - #elif + #else this->heapSize = 99999; #endif this->minFreeHeapSize = heapSize; diff --git a/src/main.cpp b/src/main.cpp index e583aca..ba607ff 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -13,7 +13,7 @@ #include #elif defined(ARDUINO_ARCH_ESP8266) #include -#elif +#else #error Wrong board. Supported boards: esp8266, esp32 #endif