Browse Source

Fix serial debug ouput

Scott Lahteine 7 years ago
parent
commit
590ce1c33e
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/src/gcode/control/M111.cpp

+ 4
- 4
Marlin/src/gcode/control/M111.cpp View File

@@ -60,19 +60,19 @@ void GcodeSuite::M111() {
60 60
     SERIAL_ECHOPGM(MSG_DEBUG_OFF);
61 61
     #if !defined(__AVR__) || !defined(USBCON)
62 62
       #if ENABLED(SERIAL_STATS_RX_BUFFER_OVERRUNS)
63
-        SERIAL_ECHOLNPAIR("Buffer Overruns: ", customizedSerial.buffer_overruns());
63
+        SERIAL_ECHOPAIR("\nBuffer Overruns: ", customizedSerial.buffer_overruns());
64 64
       #endif
65 65
 
66 66
       #if ENABLED(SERIAL_STATS_RX_FRAMING_ERRORS)
67
-        SERIAL_ECHOLNPAIR("Framing Errors: ", customizedSerial.framing_errors());
67
+        SERIAL_ECHOPAIR("\nFraming Errors: ", customizedSerial.framing_errors());
68 68
       #endif
69 69
 
70 70
       #if ENABLED(SERIAL_STATS_DROPPED_RX)
71
-        SERIAL_ECHOLNPAIR("Dropped bytes: ", customizedSerial.dropped());
71
+        SERIAL_ECHOPAIR("\nDropped bytes: ", customizedSerial.dropped());
72 72
       #endif
73 73
 
74 74
       #if ENABLED(SERIAL_STATS_MAX_RX_QUEUED)
75
-        SERIAL_ECHOLNPAIR("Max RX Queue Size: ", customizedSerial.rxMaxEnqueued());
75
+        SERIAL_ECHOPAIR("\nMax RX Queue Size: ", customizedSerial.rxMaxEnqueued());
76 76
       #endif
77 77
     #endif //  !defined(__AVR__) || !defined(USBCON)
78 78
   }

Loading…
Cancel
Save