diff options
| author | Uri Shaked | 2025-02-11 10:45:54 +0200 |
|---|---|---|
| committer | Uri Shaked | 2025-02-11 10:45:54 +0200 |
| commit | 00a691f1c2e957d57d6954d5edf69016a37b38ec (patch) | |
| tree | d6f901c06a663be25d27ea722376a6148fd69a3c | |
| parent | ci: remove codeql action (diff) | |
| download | avr8js-00a691f1c2e957d57d6954d5edf69016a37b38ec.tar.gz avr8js-00a691f1c2e957d57d6954d5edf69016a37b38ec.tar.bz2 avr8js-00a691f1c2e957d57d6954d5edf69016a37b38ec.zip | |
test(timer): fix typo #160
close #160
| -rw-r--r-- | src/peripherals/timer.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
