Rename command buffer var
This commit is contained in:
@@ -812,7 +812,7 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
|
||||
* This is called from the main loop()
|
||||
*/
|
||||
void GcodeSuite::process_next_command() {
|
||||
char * const current_command = queue.buffer[queue.index_r];
|
||||
char * const current_command = queue.command_buffer[queue.index_r];
|
||||
|
||||
PORT_REDIRECT(queue.port[queue.index_r]);
|
||||
|
||||
@@ -821,7 +821,7 @@ void GcodeSuite::process_next_command() {
|
||||
SERIAL_ECHOLN(current_command);
|
||||
#if ENABLED(M100_FREE_MEMORY_DUMPER)
|
||||
SERIAL_ECHOPAIR("slot:", queue.index_r);
|
||||
M100_dump_routine(PSTR(" Command Queue:"), queue.buffer, queue.buffer + sizeof(queue.buffer));
|
||||
M100_dump_routine(PSTR(" Command Queue:"), queue.command_buffer, queue.command_buffer + sizeof(queue.command_buffer));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user