From b8712d55eb0b037517a29824a88d33ec0b78c04d Mon Sep 17 00:00:00 2001 From: fvanroie Date: Sat, 7 Mar 2020 21:07:55 +0100 Subject: [PATCH] Add ota --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index f665d35d..f36e3356 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9,6 +9,7 @@ #include "hasp_config.h" #include "hasp_tft.h" #include "hasp_gui.h" +#include "hasp_ota.h" //#include "hasp_ota.h" #include "hasp.h" @@ -106,7 +107,7 @@ void setup() buttonSetup(); #endif - // otaSetup(settings[F("ota")]); + otaSetup(settings[F("ota")]); #endif } @@ -154,7 +155,7 @@ void loop() buttonLoop(); #endif - // otaLoop(wifiIsConnected); + otaLoop(isConnected); debugLoop(); #endif