From ac8e23a507ec3268e6a1d0408a572fb5c1911770 Mon Sep 17 00:00:00 2001 From: pennam Date: Tue, 24 Oct 2023 08:52:02 +0200 Subject: [PATCH] Remove OTA_ENABLED define check --- src/utility/ota/OTA-esp32.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/utility/ota/OTA-esp32.cpp b/src/utility/ota/OTA-esp32.cpp index 6b46ee85..6fdd517e 100644 --- a/src/utility/ota/OTA-esp32.cpp +++ b/src/utility/ota/OTA-esp32.cpp @@ -15,14 +15,12 @@ a commercial license, send an email to license@arduino.cc. */ +#ifdef ARDUINO_ARCH_ESP32 + /****************************************************************************** * INCLUDE ******************************************************************************/ -#include - -#if defined ARDUINO_ARCH_ESP32 && OTA_ENABLED - #include #include #include "tls/utility/SHA256.h"