diff --git a/src/hasp_debug.cpp b/src/hasp_debug.cpp index ad8d8c5f..9e29d7ab 100644 --- a/src/hasp_debug.cpp +++ b/src/hasp_debug.cpp @@ -87,7 +87,7 @@ static void debugPrintTimestamp(int level, Print* _logOutput) } /* ===== Default Event Processors ===== */ -// void debugPreSetup(JsonObject settings); +// void debugSetupWithoutLogging(JsonObject settings); // void debugSetup(); static inline void debug_flush() diff --git a/src/hasp_debug.h b/src/hasp_debug.h index dc1e92c2..51dc7bf2 100644 --- a/src/hasp_debug.h +++ b/src/hasp_debug.h @@ -14,7 +14,7 @@ #include "ArduinoLog.h" /* ===== Default Event Processors ===== */ -void debugPreSetup(JsonObject settings); +void debugSetupWithoutLogging(JsonObject settings); void debugSetup(); /* ===== Special Event Processors ===== */ diff --git a/src/log/hasp_debug.cpp b/src/log/hasp_debug.cpp index 672d53ba..593f0b3f 100644 --- a/src/log/hasp_debug.cpp +++ b/src/log/hasp_debug.cpp @@ -299,7 +299,7 @@ void debugPrintSuffix(uint8_t tag, int level, Print* _logOutput) } } -void debugPreSetup(JsonObject settings) +void debugSetupWithoutLogging(JsonObject settings) { Log.begin(LOG_LEVEL_WARNING, true); Log.setPrefix(debugPrintPrefix); // Uncomment to get timestamps as prefix diff --git a/src/main_arduino copy.cpp b/src/main_arduino copy.cpp index 9f93e141..dcc98250 100644 --- a/src/main_arduino copy.cpp +++ b/src/main_arduino copy.cpp @@ -54,7 +54,7 @@ void setup() * Read & Apply User Configuration ***************************/ #if HASP_USE_CONFIG > 0 - configSetup(); // also runs debugPreSetup(), debugSetup() and debugStart() + configSetup(); // also runs debugSetupWithoutLogging(), debugSetup() and debugStart() #endif dispatchSetup(); diff --git a/src/main_arduino.cpp b/src/main_arduino.cpp index c863a28a..d42604c5 100644 --- a/src/main_arduino.cpp +++ b/src/main_arduino.cpp @@ -54,7 +54,7 @@ void setup() * Read & Apply User Configuration ***************************/ #if HASP_USE_CONFIG > 0 - configSetup(); // also runs debugPreSetup(), debugSetup() and debugStart() + configSetup(); // also runs debugSetupWithoutLogging(), debugSetup() and debugStart() #endif guiSetup();