File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 75
75
// LOG_LEVEL_WARNING, LOG_LEVEL_NOTICE, LOG_LEVEL_VERBOSE
76
76
#define LOG_LEVEL LOG_LEVEL_VERBOSE
77
77
78
+ // Enable if you're having issues with the app outputting garbage characters on startup
79
+ // #define SERIAL_INTERFACE_INIT_DELAY
80
+
78
81
// ============= END OF USER CONFIGURATION =================================================================
79
82
80
83
Original file line number Diff line number Diff line change @@ -47,8 +47,11 @@ void setup() {
47
47
// Initialize global resources
48
48
initializeGlobalResources ();
49
49
50
+ #ifdef SERIAL_INTERFACE_INIT_DELAY
50
51
// Add a delay to allow the serial interface to initialize
51
52
delay (4000 );
53
+ #endif
54
+
52
55
// Clear the serial buffer of any garbage
53
56
while (Serial.available () > 0 ) {
54
57
Serial.read ();
You can’t perform that action at this time.
0 commit comments