summaryrefslogtreecommitdiff
path: root/Sprinter
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2011-07-09 15:17:26 +0200
committerkliment <kliment.yanev@gmail.com>2011-07-09 15:17:26 +0200
commit8f884db6393747ba1da594b4779139fe59d54308 (patch)
treed3ce3e1fdf03238ab3f964b5cdbf7f07832faf83 /Sprinter
parent7cee3a9c8eeb41c80ae99b1348d7601fd0f0b295 (diff)
M119 output all on a single line
Diffstat (limited to 'Sprinter')
-rw-r--r--Sprinter/Sprinter.pde12
1 files changed, 6 insertions, 6 deletions
diff --git a/Sprinter/Sprinter.pde b/Sprinter/Sprinter.pde
index bd6a2d8..af9c4b6 100644
--- a/Sprinter/Sprinter.pde
+++ b/Sprinter/Sprinter.pde
@@ -789,27 +789,27 @@ inline void process_commands()
case 119: // M119
#if (X_MIN_PIN > -1)
Serial.print("x_min:");
- Serial.println((digitalRead(X_MIN_PIN)^ENDSTOPS_INVERTING)?"H":"L");
+ Serial.print((digitalRead(X_MIN_PIN)^ENDSTOPS_INVERTING)?"H ":"L ");
#endif
#if (X_MAX_PIN > -1)
Serial.print("x_max:");
- Serial.println((digitalRead(X_MAX_PIN)^ENDSTOPS_INVERTING)?"H":"L");
+ Serial.print((digitalRead(X_MAX_PIN)^ENDSTOPS_INVERTING)?"H ":"L ");
#endif
#if (Y_MIN_PIN > -1)
Serial.print("y_min:");
- Serial.println((digitalRead(Y_MIN_PIN)^ENDSTOPS_INVERTING)?"H":"L");
+ Serial.print((digitalRead(Y_MIN_PIN)^ENDSTOPS_INVERTING)?"H ":"L ");
#endif
#if (Y_MAX_PIN > -1)
Serial.print("y_max:");
- Serial.println((digitalRead(Y_MAX_PIN)^ENDSTOPS_INVERTING)?"H":"L");
+ Serial.print((digitalRead(Y_MAX_PIN)^ENDSTOPS_INVERTING)?"H ":"L ");
#endif
#if (Z_MIN_PIN > -1)
Serial.print("z_min:");
- Serial.println((digitalRead(Z_MIN_PIN)^ENDSTOPS_INVERTING)?"H":"L");
+ Serial.print((digitalRead(Z_MIN_PIN)^ENDSTOPS_INVERTING)?"H ":"L ");
#endif
#if (Z_MAX_PIN > -1)
Serial.print("z_max:");
- Serial.println((digitalRead(Z_MAX_PIN)^ENDSTOPS_INVERTING)?"H":"L");
+ Serial.print((digitalRead(Z_MAX_PIN)^ENDSTOPS_INVERTING)?"H ":"L ");
#endif
break;
#ifdef RAMP_ACCELERATION