boolval revisited (#8016)

This commit is contained in:
Luc Van Daele
2017-10-18 21:03:17 +02:00
committed by Roxy-3D
parent 572cf0ec95
commit 3986a84f77
4 changed files with 5 additions and 5 deletions

View File

@ -51,7 +51,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'));
}
#endif // !DISABLE_M503