From dd6efe96e7154e3126cdda1a3b5afce510899bd8 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 22 Aug 2019 18:56:59 -0500 Subject: [PATCH] Restore documented M503 behavior --- Marlin/src/gcode/eeprom/M500-M504.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/gcode/eeprom/M500-M504.cpp b/Marlin/src/gcode/eeprom/M500-M504.cpp index 8a016e13e6..79bacf0662 100644 --- a/Marlin/src/gcode/eeprom/M500-M504.cpp +++ b/Marlin/src/gcode/eeprom/M500-M504.cpp @@ -52,7 +52,7 @@ void GcodeSuite::M502() { * M503: print settings currently in memory */ void GcodeSuite::M503() { - (void)settings.report(parser.boolval('S', true)); + (void)settings.report(!parser.boolval('S', true)); } #endif // !DISABLE_M503