diff --git a/Components/SerialPort/SerialPort.cpp b/Components/SerialPort/SerialPort.cpp index 18e1483b1..c9d9dc506 100644 --- a/Components/SerialPort/SerialPort.cpp +++ b/Components/SerialPort/SerialPort.cpp @@ -59,10 +59,12 @@ int Line::write_data_time_remaining() { } void Line::reset_writing() { + remaining_delays_ = 0; events_.clear(); } void Line::flush_writing() { + remaining_delays_ = 0; for(const auto &event : events_) { switch(event.type) { default: break;