From cbeceaf20952c70f2982bde251b59e7906fd4a9d Mon Sep 17 00:00:00 2001 From: fvanroie Date: Thu, 21 Jul 2022 01:06:43 +0200 Subject: [PATCH] Remove duplicate include --- src/log/hasp_debug.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/log/hasp_debug.cpp b/src/log/hasp_debug.cpp index 5cc88bb6..4fb3c8b9 100644 --- a/src/log/hasp_debug.cpp +++ b/src/log/hasp_debug.cpp @@ -24,7 +24,9 @@ #include #elif defined(ARDUINO_ARCH_ESP32) #include +#if HASP_USE_SYSLOG > 0 #include +#endif #elif defined(STM32F4xx) || defined(STM32F7xx) #include #endif @@ -44,7 +46,6 @@ #endif #if HASP_USE_SYSLOG > 0 -#include #ifndef SYSLOG_SERVER #define SYSLOG_SERVER ""