aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/clock.ts
diff options
context:
space:
mode:
authorUri Shaked2025-02-11 10:31:57 +0200
committerUri Shaked2025-02-11 10:31:57 +0200
commit9ce22e49cf1110d0a8c1943877dc32e6568354cc (patch)
tree6ad61569ee9a311b5ca8f330948b2136b2c04ed5 /src/peripherals/clock.ts
parentchore: replace ts-node with tsx (diff)
downloadavr8js-9ce22e49cf1110d0a8c1943877dc32e6568354cc.tar.gz
avr8js-9ce22e49cf1110d0a8c1943877dc32e6568354cc.tar.bz2
avr8js-9ce22e49cf1110d0a8c1943877dc32e6568354cc.zip
chore(deps): upgrade prettier
reformat all code with the new prettier version
Diffstat (limited to '')
-rw-r--r--src/peripherals/clock.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripherals/clock.ts b/src/peripherals/clock.ts
index d443843..bf49ac9 100644
--- a/src/peripherals/clock.ts
+++ b/src/peripherals/clock.ts
@@ -35,7 +35,7 @@ export class AVRClock {
constructor(
private cpu: CPU,
private baseFreqHz: u32,
- private config: AVRClockConfig = clockConfig
+ private config: AVRClockConfig = clockConfig,
) {
this.cpu.writeHooks[this.config.CLKPR] = (clkpr) => {
if ((!this.clockEnabledCycles || this.clockEnabledCycles < cpu.cycles) && clkpr === CLKPCE) {