From 00a691f1c2e957d57d6954d5edf69016a37b38ec Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Tue, 11 Feb 2025 10:45:54 +0200 Subject: test(timer): fix typo #160 close #160 --- src/peripherals/timer.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/peripherals/timer.spec.ts') diff --git a/src/peripherals/timer.spec.ts b/src/peripherals/timer.spec.ts index 893fe32..cb874c6 100644 --- a/src/peripherals/timer.spec.ts +++ b/src/peripherals/timer.spec.ts @@ -982,7 +982,7 @@ describe('timer', () => { expect(cpu.dataView.getUint16(TCNT1, true)).toEqual(0x2234); // TCNT1 should increment }); - it('should set OCF0A flag when timer equals OCRA (16 bit mode)', () => { + it('should set OCF1A flag when timer equals OCRA (16 bit mode)', () => { const cpu = new CPU(new Uint16Array(0x1000)); new AVRTimer(cpu, timer1Config); cpu.writeData(TCNT1H, 0x10); // TCNT1 <- 0x10ee -- cgit v1.2.3