Skip to content

Commit d9dc3c8

Browse files
committed
fix(timer): stop Timer 2 when all CS bits are 0
close #44
1 parent 2cb9a7c commit d9dc3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/peripherals/timer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const timer2Config: AVRTimerConfig = {
115115
TCCRC: 0, // not available
116116
TIMSK: 0x70,
117117
dividers: {
118-
0: 1,
118+
0: 0,
119119
1: 1,
120120
2: 8,
121121
3: 32,

0 commit comments

Comments
 (0)