mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 13:16:45 +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 ===== */
|
/* ===== 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()
|
||||||
|
@ -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 ===== */
|
||||||
|
@ -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
|
||||||
|
@ -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();
|
||||||
|
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user