aboutsummaryrefslogtreecommitdiff
path: root/src/peripherals/watchdog.ts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/peripherals/watchdog.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/peripherals/watchdog.ts b/src/peripherals/watchdog.ts
index dc66220..979151f 100644
--- a/src/peripherals/watchdog.ts
+++ b/src/peripherals/watchdog.ts
@@ -57,7 +57,11 @@ export class AVRWatchdog {
enableMask: WDTCSR_WDIE,
};
- constructor(private cpu: CPU, private config: WatchdogConfig, private clock: AVRClock) {
+ constructor(
+ private cpu: CPU,
+ private config: WatchdogConfig,
+ private clock: AVRClock,
+ ) {
const { WDTCSR } = config;
this.cpu.onWatchdogReset = () => {
this.resetWatchdog();