Cleanup, hex formatting, includes
This commit is contained in:
parent
f3f82f56bf
commit
fccfcfbe5f
21 changed files with 2354 additions and 2352 deletions
|
|
@ -1064,7 +1064,7 @@ void GcodeSuite::process_subcommands_now_P(PGM_P pgcode) {
|
|||
strncpy_P(cmd, pgcode, len); // Copy the command to the stack
|
||||
cmd[len] = '\0'; // End with a nul
|
||||
parser.parse(cmd); // Parse the command
|
||||
process_parsed_command(true); // Process it
|
||||
process_parsed_command(true); // Process it (no "ok")
|
||||
if (!delim) break; // Last command?
|
||||
pgcode = delim + 1; // Get the next command
|
||||
}
|
||||
|
|
@ -1077,7 +1077,7 @@ void GcodeSuite::process_subcommands_now(char * gcode) {
|
|||
char * const delim = strchr(gcode, '\n'); // Get address of next newline
|
||||
if (delim) *delim = '\0'; // Replace with nul
|
||||
parser.parse(gcode); // Parse the current command
|
||||
process_parsed_command(true); // Process it
|
||||
process_parsed_command(true); // Process it (no "ok")
|
||||
if (!delim) break; // Last command?
|
||||
*delim = '\n'; // Put back the newline
|
||||
gcode = delim + 1; // Get the next command
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue