Skip to content

Commit b89ec71

Browse files
committed
make serial debug flush on every line
1 parent 6b6737c commit b89ec71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utility/firmataDebug.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#ifdef SERIAL_DEBUG
55
#define DEBUG_BEGIN(baud) Serial.begin(baud); while(!Serial) {;}
6-
#define DEBUG_PRINTLN(x) Serial.println (x)
6+
#define DEBUG_PRINTLN(x) Serial.println (x); Serial.flush()
77
#define DEBUG_PRINT(x) Serial.print (x)
88
#else
99
#define DEBUG_BEGIN(baud)

0 commit comments

Comments
 (0)