Browse Source

Tweak M211

Scott Lahteine 6 years ago
parent
commit
61620cbd15
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      Marlin/src/gcode/control/M211.cpp

+ 1
- 2
Marlin/src/gcode/control/M211.cpp View File

@@ -30,12 +30,11 @@
30 30
  */
31 31
 void GcodeSuite::M211() {
32 32
   SERIAL_ECHO_START();
33
+  SERIAL_ECHOPGM(MSG_SOFT_ENDSTOPS);
33 34
   #if HAS_SOFTWARE_ENDSTOPS
34 35
     if (parser.seen('S')) soft_endstops_enabled = parser.value_bool();
35
-    SERIAL_ECHOPGM(MSG_SOFT_ENDSTOPS);
36 36
     serialprintPGM(soft_endstops_enabled ? PSTR(MSG_ON) : PSTR(MSG_OFF));
37 37
   #else
38
-    SERIAL_ECHOPGM(MSG_SOFT_ENDSTOPS);
39 38
     SERIAL_ECHOPGM(MSG_OFF);
40 39
   #endif
41 40
   SERIAL_ECHOPGM(MSG_SOFT_MIN);

Loading…
Cancel
Save