Add the possibility to set LOG_LEVEL_LCD and LOG_TO_LCD for M5 boards from PIO (#1358)
This commit is contained in:
1 parent
31403d8623
commit
2490ba75ab
1 file changed
+6
-2
+6
-2
@@ -60,8 +60,12 @@ extern void loopM5();
|
||||
# define SLEEP_BUTTON 33
|
||||
#endif
|
||||
/*-------------------DEFINE LOG LEVEL----------------------*/
|
||||
#define LOG_LEVEL_LCD LOG_LEVEL_WARNING // if we go down below warning the size of the text to display can make the M5 restarting
|
||||
#define LOG_TO_LCD true //set to false if you want to use serial monitor for the log per default instead of the M5 screen
|
||||
#ifndef LOG_LEVEL_LCD
|
||||
# define LOG_LEVEL_LCD LOG_LEVEL_WARNING // Default to only display Warning level messages, if we go down below warning the size of the text to display can make the M5 restarting
|
||||
#endif
|
||||
#ifndef LOG_TO_LCD
|
||||
# define LOG_TO_LCD true // Default to display log messages on display
|
||||
#endif
|
||||
/*-------------------DEFINE MQTT TOPIC FOR CONFIG----------------------*/
|
||||
#define subjectMQTTtoM5set "/commands/MQTTtoM5/config"
|
||||
|
||||
|
||||
Reference in new issue
Block a user