summaryrefslogtreecommitdiff
path: root/src/peripherals/avrdx-wdt.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/peripherals/avrdx-wdt.ts')
-rw-r--r--src/peripherals/avrdx-wdt.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/peripherals/avrdx-wdt.ts b/src/peripherals/avrdx-wdt.ts
index f657fcb..15b1db0 100644
--- a/src/peripherals/avrdx-wdt.ts
+++ b/src/peripherals/avrdx-wdt.ts
@@ -8,15 +8,5 @@ import type { CPU } from 'avr8js/cpu/cpu';
export class AVRDxWDT {
constructor(cpu: CPU, base: number) {
- // firmware writes 0 to disable WDT. We need a write hook so it doesn't crash.
- // cpu.writeHooks[base + CTRLA] = (value) => {
- // this.cpu.data[base + CTRLA] = value;
- // return true;
- // };
-
- // cpu.writeHooks[base + STATUS] = (value) => {
- // this.cpu.data[base + STATUS] = value;
- // return true;
- // };
}
}