Fix: GCodeSender: Line number resynchronisation

This commit is contained in:
Vojtech Kral 2018-06-04 17:47:01 +02:00
parent 92875709e1
commit 2e061994d4
2 changed files with 28 additions and 8 deletions

View file

@ -51,7 +51,7 @@ class GCodeSender : private boost::noncopyable {
bool can_send;
bool queue_paused;
size_t sent;
std::vector<std::string> last_sent;
std::deque<std::string> last_sent;
// this mutex guards log, T, B
mutable boost::mutex log_mutex;