From c33472d9b63f93b0fb425bf6014eefe2a9fd7419 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Thu, 27 Apr 2023 14:19:27 +0200 Subject: [PATCH] ArduinoOTA support only ESP8266 (#18528) * ArduinoOTA support only ESP8266 * add comment ArduinoOTA --- tasmota/my_user_config.h | 2 +- tasmota/tasmota_support/support_tasmota.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. *