|
@ -28,7 +28,7 @@ void _otaLoop() { |
|
|
// Terminal OTA
|
|
|
// Terminal OTA
|
|
|
// -----------------------------------------------------------------------------
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
#if TERMINAL_SUPPORT
|
|
|
|
|
|
|
|
|
#if TERMINAL_SUPPORT || OTA_MQTT_SUPPORT
|
|
|
|
|
|
|
|
|
#include <ESPAsyncTCP.h>
|
|
|
#include <ESPAsyncTCP.h>
|
|
|
AsyncClient * _ota_client; |
|
|
AsyncClient * _ota_client; |
|
@ -186,6 +186,11 @@ void _otaFrom(String url) { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#endif // TERMINAL_SUPPORT || OTA_MQTT_SUPPORT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if TERMINAL_SUPPORT
|
|
|
|
|
|
|
|
|
void _otaInitCommands() { |
|
|
void _otaInitCommands() { |
|
|
|
|
|
|
|
|
settingsRegisterCommand(F("OTA"), [](Embedis* e) { |
|
|
settingsRegisterCommand(F("OTA"), [](Embedis* e) { |
|
|