Rename debugPreSetup to debugSetupWithoutLogging

This commit is contained in:
fvanroie 2021-05-01 00:19:40 +02:00
parent d18e58a26f
commit aabe695836
5 changed files with 5 additions and 5 deletions

View File

@ -87,7 +87,7 @@ static void debugPrintTimestamp(int level, Print* _logOutput)
} }
/* ===== Default Event Processors ===== */ /* ===== Default Event Processors ===== */
// void debugPreSetup(JsonObject settings); // void debugSetupWithoutLogging(JsonObject settings);
// void debugSetup(); // void debugSetup();
static inline void debug_flush() static inline void debug_flush()

View File

@ -14,7 +14,7 @@
#include "ArduinoLog.h" #include "ArduinoLog.h"
/* ===== Default Event Processors ===== */ /* ===== Default Event Processors ===== */
void debugPreSetup(JsonObject settings); void debugSetupWithoutLogging(JsonObject settings);
void debugSetup(); void debugSetup();
/* ===== Special Event Processors ===== */ /* ===== Special Event Processors ===== */

View File

@ -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.begin(LOG_LEVEL_WARNING, true);
Log.setPrefix(debugPrintPrefix); // Uncomment to get timestamps as prefix Log.setPrefix(debugPrintPrefix); // Uncomment to get timestamps as prefix

View File

@ -54,7 +54,7 @@ void setup()
* Read & Apply User Configuration * Read & Apply User Configuration
***************************/ ***************************/
#if HASP_USE_CONFIG > 0 #if HASP_USE_CONFIG > 0
configSetup(); // also runs debugPreSetup(), debugSetup() and debugStart() configSetup(); // also runs debugSetupWithoutLogging(), debugSetup() and debugStart()
#endif #endif
dispatchSetup(); dispatchSetup();

View File

@ -54,7 +54,7 @@ void setup()
* Read & Apply User Configuration * Read & Apply User Configuration
***************************/ ***************************/
#if HASP_USE_CONFIG > 0 #if HASP_USE_CONFIG > 0
configSetup(); // also runs debugPreSetup(), debugSetup() and debugStart() configSetup(); // also runs debugSetupWithoutLogging(), debugSetup() and debugStart()
#endif #endif
guiSetup(); guiSetup();