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

Loading…
Cancel
Save