1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-15 00:02:49 +03:00

Add ArduinoOTAClass::end() (#8379)

This adds the end() function for the ArduinoOTA class.

ESP32 has this implemented, however ESP8266 was lacking this.
This commit is contained in:
Phil1pp
2021-12-02 22:49:42 +01:00
committed by GitHub
parent 7fc43b6ddd
commit 0af18ab313
2 changed files with 14 additions and 0 deletions

View File

@ -62,6 +62,8 @@ class ArduinoOTAClass
//Starts the ArduinoOTA service
void begin(bool useMDNS = true);
//Ends the ArduinoOTA service
void end();
//Call this in loop() to run the service. Also calls MDNS.update() when begin() or begin(true) is used.
void handle();