Skip to content

Commit ac8e23a

Browse files
committed
Remove OTA_ENABLED define check
1 parent aa757ff commit ac8e23a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/utility/ota/OTA-esp32.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@
1515
a commercial license, send an email to [email protected].
1616
*/
1717

18+
#ifdef ARDUINO_ARCH_ESP32
19+
1820
/******************************************************************************
1921
* INCLUDE
2022
******************************************************************************/
2123

22-
#include <AIoTC_Config.h>
23-
24-
#if defined ARDUINO_ARCH_ESP32 && OTA_ENABLED
25-
2624
#include <Arduino_DebugUtils.h>
2725
#include <Arduino_ESP32_OTA.h>
2826
#include "tls/utility/SHA256.h"

0 commit comments

Comments
 (0)