mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-23 08:45:22 +03:00
fixes
This commit is contained in:
@ -108,7 +108,7 @@ void ArduinoOTAClass::setRebootOnSuccess(bool reboot){
|
||||
|
||||
bool ArduinoOTAClass::begin(bool useMDNS) {
|
||||
if (_initialized)
|
||||
return;
|
||||
return true;
|
||||
|
||||
_useMDNS = useMDNS;
|
||||
|
||||
|
@ -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();
|
||||
|
Reference in New Issue
Block a user