Skip to content

Commit 00a691f

Browse files
committed
test(timer): fix typo #160
close #160
1 parent 6f38f13 commit 00a691f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/peripherals/timer.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ describe('timer', () => {
982982
expect(cpu.dataView.getUint16(TCNT1, true)).toEqual(0x2234); // TCNT1 should increment
983983
});
984984

985-
it('should set OCF0A flag when timer equals OCRA (16 bit mode)', () => {
985+
it('should set OCF1A flag when timer equals OCRA (16 bit mode)', () => {
986986
const cpu = new CPU(new Uint16Array(0x1000));
987987
new AVRTimer(cpu, timer1Config);
988988
cpu.writeData(TCNT1H, 0x10); // TCNT1 <- 0x10ee

0 commit comments

Comments
 (0)