mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Add ota
This commit is contained in:
parent
906ba1122d
commit
b8712d55eb
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user