more stable OTA uploads. disable UART and stop Mqtt during upload.

This commit is contained in:
proddy
2020-07-22 16:09:43 +02:00
parent 1c4033fb71
commit dbaf6fe4b4
3 changed files with 43 additions and 33 deletions

View File

@@ -13,6 +13,8 @@
#include <ArduinoOTA.h>
#include <WiFiUdp.h>
#include "../../src/system.h" // proddy added
#ifndef FACTORY_OTA_PORT
#define FACTORY_OTA_PORT 8266
#endif