X-Git-Url: https://git.hcoop.net/clinton/Smoothieware.git/blobdiff_plain/f80d18b93c414d73671bd04476a31853ecb61164..3fceb8ebac1f6432ecce23a0b88495a622900146:/src/modules/utils/simpleshell/SimpleShell.cpp diff --git a/src/modules/utils/simpleshell/SimpleShell.cpp b/src/modules/utils/simpleshell/SimpleShell.cpp index 4010d7fe..2d6027ae 100644 --- a/src/modules/utils/simpleshell/SimpleShell.cpp +++ b/src/modules/utils/simpleshell/SimpleShell.cpp @@ -12,7 +12,7 @@ #include "libs/utils.h" #include "libs/SerialMessage.h" #include "libs/StreamOutput.h" -#include "modules/robot/Player.h" +#include "modules/robot/Conveyor.h" void SimpleShell::on_module_loaded(){ @@ -156,7 +156,7 @@ void SimpleShell::on_main_loop(void* argument){ message.message = buffer; message.stream = this->current_stream; // wait for the queue to have enough room that a serial message could still be received before sending - this->kernel->player->wait_for_queue(2); + this->kernel->conveyor->wait_for_queue(2); this->kernel->call_event(ON_CONSOLE_LINE_RECEIVED, &message); buffer.clear(); return;