Browse Source

Restore documented M503 behavior

pull/1/head
Scott Lahteine 5 years ago
parent
commit
dd6efe96e7
  1. 2
      Marlin/src/gcode/eeprom/M500-M504.cpp

2
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

Loading…
Cancel
Save