diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index a246126ab..83c450db6 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -398,7 +398,7 @@ //#define USE_TASMESH // Enable Tasmota Mesh using ESP-NOW (+11k code) // -- OTA ----------------------------------------- -//#define USE_ARDUINO_OTA // Add optional support for Arduino OTA (+13k code) +//#define USE_ARDUINO_OTA // Add optional support for Arduino OTA with ESP8266 (+13k code) // -- Influxdb ------------------------------------ //#define USE_INFLUXDB // Enable influxdb support (+5k code) diff --git a/tasmota/tasmota_support/support_tasmota.ino b/tasmota/tasmota_support/support_tasmota.ino index 09ffc5f73..955f52816 100644 --- a/tasmota/tasmota_support/support_tasmota.ino +++ b/tasmota/tasmota_support/support_tasmota.ino @@ -1638,7 +1638,7 @@ void Every250mSeconds(void) } } -#ifdef USE_ARDUINO_OTA +#if defined(ESP8266) && defined(USE_ARDUINO_OTA) /*********************************************************************************************\ * Allow updating via the Arduino OTA-protocol. *