Refactor serial class with templates (#20783)
This commit is contained in:
parent
c929fb52dd
commit
3f01b222b2
64 changed files with 782 additions and 948 deletions
|
|
@ -986,6 +986,8 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
|
|||
}
|
||||
|
||||
if (!no_ok) queue.ok_to_send();
|
||||
|
||||
SERIAL_OUT(msgDone); // Call the msgDone serial hook to signal command processing done
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -995,7 +997,7 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
|
|||
void GcodeSuite::process_next_command() {
|
||||
char * const current_command = queue.command_buffer[queue.index_r];
|
||||
|
||||
PORT_REDIRECT(queue.port[queue.index_r]);
|
||||
PORT_REDIRECT(SERIAL_PORTMASK(queue.port[queue.index_r]));
|
||||
|
||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||
recovery.queue_index_r = queue.index_r;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue