aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/timer.spec.ts
diff options
context:
space:
mode:
authorUri Shaked2025-02-11 10:45:54 +0200
committerUri Shaked2025-02-11 10:45:54 +0200
commit00a691f1c2e957d57d6954d5edf69016a37b38ec (patch)
treed6f901c06a663be25d27ea722376a6148fd69a3c /src/peripherals/timer.spec.ts
parentci: remove codeql action (diff)
downloadavr8js-00a691f1c2e957d57d6954d5edf69016a37b38ec.tar.gz
avr8js-00a691f1c2e957d57d6954d5edf69016a37b38ec.tar.bz2
avr8js-00a691f1c2e957d57d6954d5edf69016a37b38ec.zip
test(timer): fix typo #160
close #160
Diffstat (limited to 'src/peripherals/timer.spec.ts')
-rw-r--r--src/peripherals/timer.spec.ts2
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