mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-19 08:31:11 +00:00
Ensures remaining_delays_
is set properly after [reset/flush]_writing.
This commit is contained in:
parent
8d87e9eb1c
commit
3b165a78f2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user