From 7abda7a87c4cf34ac20d8987291c18a249ae813b Mon Sep 17 00:00:00 2001 From: Sascha Date: Fri, 26 Aug 2022 09:47:12 +0200 Subject: [PATCH] Minor fix of logical && condition test Logical and check for preprocessor directives was not done the right way. --- src/fdrs_checkConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fdrs_checkConfig.h b/src/fdrs_checkConfig.h index b010726..d0b7ce2 100644 --- a/src/fdrs_checkConfig.h +++ b/src/fdrs_checkConfig.h @@ -51,7 +51,7 @@ void printConfigHeader(const char* headerText) { void printLoggingInformation() { printSectionHeader("LOG SETTINGS OF NODE"); -#ifdef USE_SD_LOG && USE_FS_LOG +#if defined(USE_SD_LOG) && defined(USE_FS_LOG) DBG("Logging to SD card AND file system is active! You should better use only one of them at a time"); #endif @@ -113,7 +113,7 @@ void printActivatedProtocols() { DBG("WiFi : DISABLED"); #endif -#ifdef USE_WIFI && USE_ESPNOW +#if defined(USE_WIFI) && defined(USE_ESPNOW) DBG("WARNING: You must not use USE_ESPNOW and USE_WIFI together! USE_WIFI is only needed for MQTT!"); #endif }