Rename command buffer var

This commit is contained in:
Scott Lahteine
2019-09-01 20:21:11 -05:00
parent d59d9b5973
commit a2e412c0ce
4 changed files with 10 additions and 10 deletions

View File

@@ -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
}