aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/peripherals/clock.ts18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/peripherals/clock.ts b/src/peripherals/clock.ts
index 1dbf4ba..d443843 100644
--- a/src/peripherals/clock.ts
+++ b/src/peripherals/clock.ts
@@ -20,25 +20,11 @@ export const clockConfig: AVRClockConfig = {
};
const prescalers = [
- 1,
- 2,
- 4,
- 8,
- 16,
- 32,
- 64,
- 128,
- 256,
+ 1, 2, 4, 8, 16, 32, 64, 128, 256,
// The following values are "reserved" according to the datasheet, so we measured
// with a scope to figure them out (on ATmega328p)
- 2,
- 4,
- 8,
- 16,
- 32,
- 64,
- 128,
+ 2, 4, 8, 16, 32, 64, 128,
];
export class AVRClock {
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.