Skip to content

Commit

Permalink
Restore documented M503 behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Aug 22, 2019
1 parent 6429b8b commit dd6efe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/eeprom/M500-M504.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd6efe9

Please sign in to comment.