mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Rename debugPreSetup to debugSetupWithoutLogging
This commit is contained in:
parent
d18e58a26f
commit
aabe695836
@ -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()
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
/* ===== Default Event Processors ===== */
|
||||
void debugPreSetup(JsonObject settings);
|
||||
void debugSetupWithoutLogging(JsonObject settings);
|
||||
void debugSetup();
|
||||
|
||||
/* ===== Special Event Processors ===== */
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user