Fix M503 S parameter
This commit is contained in:
1 parent
a3b098b4be
commit
a4e1d83599
3 files changed
+4
-4
No files matched your search
@@ -51,7 +51,7 @@ void GcodeSuite::M502() {
|
||||
* M503: print settings currently in memory
|
||||
*/
|
||||
void GcodeSuite::M503() {
|
||||
(void)settings.report(parser.boolval('S'));
|
||||
(void)settings.report(parser.seen('S') && !parser.value_bool());
|
||||
}
|
||||
|
||||
#endif // !DISABLE_M503
|
||||
Reference in new issue
Block a user