1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 02:17:08 +00:00

The keyboard now responds to a reset on its serial line.

This commit is contained in:
Thomas Harte
2019-10-20 23:13:44 -04:00
parent 75c3e2dacd
commit 83d73fb088
2 changed files with 22 additions and 1 deletions
+2
View File
@@ -15,6 +15,8 @@ void Line::set_writer_clock_rate(int clock_rate) {
}
void Line::advance_writer(int cycles) {
if(!cycles) return;
remaining_delays_ = std::max(remaining_delays_ - cycles, 0);
if(events_.empty()) {
write_cycles_since_delegate_call_ += cycles;