mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
Minor fix of logical && condition test
Logical and check for preprocessor directives was not done the right way.
This commit is contained in:
parent
32b6a4cdab
commit
7abda7a87c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user