Extend SERIAL_CHAR to take multiple arguments
This commit is contained in:
parent
5beca89412
commit
95046c9047
14 changed files with 81 additions and 81 deletions
|
|
@ -346,7 +346,7 @@ void GCodeParser::unknown_command_error() {
|
|||
SERIAL_ECHOLNPGM(")");
|
||||
#if ENABLED(FASTER_GCODE_PARSER)
|
||||
SERIAL_ECHOPGM(" args: { ");
|
||||
for (char c = 'A'; c <= 'Z'; ++c) if (seen(c)) { SERIAL_CHAR(c); SERIAL_CHAR(' '); }
|
||||
for (char c = 'A'; c <= 'Z'; ++c) if (seen(c)) SERIAL_CHAR(c, ' ');
|
||||
SERIAL_CHAR('}');
|
||||
#else
|
||||
SERIAL_ECHOPAIR(" args: { ", command_args, " }");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue