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 {