mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Add ota
This commit is contained in:
parent
906ba1122d
commit
b8712d55eb
@ -9,6 +9,7 @@
|
|||||||
#include "hasp_config.h"
|
#include "hasp_config.h"
|
||||||
#include "hasp_tft.h"
|
#include "hasp_tft.h"
|
||||||
#include "hasp_gui.h"
|
#include "hasp_gui.h"
|
||||||
|
#include "hasp_ota.h"
|
||||||
//#include "hasp_ota.h"
|
//#include "hasp_ota.h"
|
||||||
#include "hasp.h"
|
#include "hasp.h"
|
||||||
|
|
||||||
@ -106,7 +107,7 @@ void setup()
|
|||||||
buttonSetup();
|
buttonSetup();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// otaSetup(settings[F("ota")]);
|
otaSetup(settings[F("ota")]);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -154,7 +155,7 @@ void loop()
|
|||||||
buttonLoop();
|
buttonLoop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// otaLoop(wifiIsConnected);
|
otaLoop(isConnected);
|
||||||
debugLoop();
|
debugLoop();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user