aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/clock.ts
diff options
context:
space:
mode:
authorUri Shaked2021-08-15 19:49:16 +0300
committerUri Shaked2021-08-15 19:49:16 +0300
commit3245a950539f49186fefedf09477f014659fadd7 (patch)
tree1f0b836e06d13cb7cd6e7698c132c5a6283075c7 /src/peripherals/clock.ts
parent0.16.6 (diff)
downloadavr8js-3245a950539f49186fefedf09477f014659fadd7.tar.gz
avr8js-3245a950539f49186fefedf09477f014659fadd7.tar.bz2
avr8js-3245a950539f49186fefedf09477f014659fadd7.zip
chore(deps): prettier 2.3.2
also reformat all the code with the new version
Diffstat (limited to '')
-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 {