hardcode ESP32 OTA PORT

This commit is contained in:
proddy
2019-05-11 16:17:12 +02:00
parent c78da36762
commit e824eb0e57
2 changed files with 4 additions and 4 deletions

View File

@@ -388,7 +388,7 @@ void MyESP::_ota_setup() {
return;
}
//ArduinoOTA.setPort(OTA_PORT);
ArduinoOTA.setPort(OTA_PORT);
ArduinoOTA.setHostname(_app_hostname);
ArduinoOTA.onStart([this]() { _OTACallback(); });