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 ===== */
// void debugPreSetup(JsonObject settings);
// void debugSetupWithoutLogging(JsonObject settings);
// void debugSetup();
static inline void debug_flush()

View File

@ -14,7 +14,7 @@
#include "ArduinoLog.h"
/* ===== Default Event Processors ===== */
void debugPreSetup(JsonObject settings);
void debugSetupWithoutLogging(JsonObject settings);
void debugSetup();
/* ===== 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.setPrefix(debugPrintPrefix); // Uncomment to get timestamps as prefix

View File

@ -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();

View File

@ -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();