Minor fix of logical && condition test

Logical and check for preprocessor directives was not done the right way.
This commit is contained in:
Sascha 2022-08-26 09:47:12 +02:00
parent 32b6a4cdab
commit 7abda7a87c

View File

@ -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
}