From 61620cbd15c6a7ee4e15c6408cf73032c0bdd6c2 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 2 Mar 2018 02:20:32 -0600 Subject: [PATCH] Tweak M211 --- Marlin/src/gcode/control/M211.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Marlin/src/gcode/control/M211.cpp b/Marlin/src/gcode/control/M211.cpp index e175ae7f9..1f3be868a 100644 --- a/Marlin/src/gcode/control/M211.cpp +++ b/Marlin/src/gcode/control/M211.cpp @@ -30,12 +30,11 @@ */ void GcodeSuite::M211() { SERIAL_ECHO_START(); + SERIAL_ECHOPGM(MSG_SOFT_ENDSTOPS); #if HAS_SOFTWARE_ENDSTOPS if (parser.seen('S')) soft_endstops_enabled = parser.value_bool(); - SERIAL_ECHOPGM(MSG_SOFT_ENDSTOPS); serialprintPGM(soft_endstops_enabled ? PSTR(MSG_ON) : PSTR(MSG_OFF)); #else - SERIAL_ECHOPGM(MSG_SOFT_ENDSTOPS); SERIAL_ECHOPGM(MSG_OFF); #endif SERIAL_ECHOPGM(MSG_SOFT_MIN);