1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-23 08:45:22 +03:00
This commit is contained in:
david gauchard
2020-08-23 19:43:32 +02:00
parent f23caa2dcd
commit a16e1e5b8a
4 changed files with 5 additions and 4 deletions

View File

@ -108,7 +108,7 @@ void ArduinoOTAClass::setRebootOnSuccess(bool reboot){
bool ArduinoOTAClass::begin(bool useMDNS) {
if (_initialized)
return;
return true;
_useMDNS = useMDNS;

View File

@ -60,7 +60,7 @@ class ArduinoOTAClass
void onProgress(THandlerFunction_Progress fn);
//Starts the ArduinoOTA service
void begin(bool useMDNS = true);
bool begin(bool useMDNS = true);
//Call this in loop() to run the service. Also calls MDNS.update() when begin() or begin(true) is used.
void handle();