ad continous ota check in setup
This commit is contained in:
parent
e7a3953b22
commit
47384bd855
|
@ -10,7 +10,9 @@ void setup() {
|
||||||
|
|
||||||
checkOTA();
|
checkOTA();
|
||||||
if(initOTA()) { //initialize ota if ota enabled
|
if(initOTA()) { //initialize ota if ota enabled
|
||||||
|
#ifndef OTA_CONTINUOUS
|
||||||
return; //if ota do nothing else for setup
|
return; //if ota do nothing else for setup
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
Serial.println("Booting normal");
|
Serial.println("Booting normal");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue