Skip to content

Commit

Permalink
test(timer): fix typo #160
Browse files Browse the repository at this point in the history
close #160
  • Loading branch information
urish committed Feb 11, 2025
1 parent 6f38f13 commit 00a691f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/peripherals/timer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00a691f

Please sign in to comment.