aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/timer.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/timer.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 'src/peripherals/timer.ts')
-rw-r--r--src/peripherals/timer.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/peripherals/timer.ts b/src/peripherals/timer.ts
index 93b9d19..dfbba35 100644
--- a/src/peripherals/timer.ts
+++ b/src/peripherals/timer.ts
@@ -342,7 +342,10 @@ export class AVRTimer {
enableMask: this.config.OCIEC,
};
- constructor(private cpu: CPU, private config: AVRTimerConfig) {
+ constructor(
+ private cpu: CPU,
+ private config: AVRTimerConfig,
+ ) {
this.updateWGMConfig();
this.cpu.readHooks[config.TCNT] = (addr: u8) => {
this.count(false);