aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Shaked2020-05-04 21:59:43 +0300
committerUri Shaked2020-05-04 21:59:43 +0300
commitd9dc3c8a6161f3696bdddbbde9e4ee408ece425a (patch)
tree569a73c27c0fcd4363bd4af79655321453a8ebb3
parentchore: release 0.8.4 (diff)
downloadavr8js-d9dc3c8a6161f3696bdddbbde9e4ee408ece425a.tar.gz
avr8js-d9dc3c8a6161f3696bdddbbde9e4ee408ece425a.tar.bz2
avr8js-d9dc3c8a6161f3696bdddbbde9e4ee408ece425a.zip
fix(timer): stop Timer 2 when all CS bits are 0
close #44
Diffstat (limited to '')
-rw-r--r--src/peripherals/timer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripherals/timer.ts b/src/peripherals/timer.ts
index 7cae2ac..4e75fb1 100644
--- a/src/peripherals/timer.ts
+++ b/src/peripherals/timer.ts
@@ -115,7 +115,7 @@ export const timer2Config: AVRTimerConfig = {
TCCRC: 0, // not available
TIMSK: 0x70,
dividers: {
- 0: 1,
+ 0: 0,
1: 1,
2: 8,
3: 32,
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.