aboutsummaryrefslogtreecommitdiff
path: root/demo/src/execute.ts
diff options
context:
space:
mode:
Diffstat (limited to 'demo/src/execute.ts')
-rw-r--r--demo/src/execute.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/demo/src/execute.ts b/demo/src/execute.ts
index 40cc996..5d5c6b4 100644
--- a/demo/src/execute.ts
+++ b/demo/src/execute.ts
@@ -50,10 +50,7 @@ export class AVRRunner {
const cyclesToRun = this.cpu.cycles + this.workUnitCycles;
while (this.cpu.cycles < cyclesToRun) {
avrInstruction(this.cpu);
- this.timer0.tick();
- this.timer1.tick();
- this.timer2.tick();
- this.usart.tick();
+ this.cpu.tick();
}
callback(this.cpu);