summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorApexo2026-03-29 11:29:34 +0200
committerApexo2026-03-29 11:29:34 +0200
commit168da94efefa1fd84aed52bcf4eabd8094d36060 (patch)
tree4244d660c2325cd59fc8326d19ce4f977eb8c624
parentunify import stlyle (diff)
downloadanduril-sim-168da94efefa1fd84aed52bcf4eabd8094d36060.tar.gz
anduril-sim-168da94efefa1fd84aed52bcf4eabd8094d36060.tar.bz2
anduril-sim-168da94efefa1fd84aed52bcf4eabd8094d36060.zip
cleanup
Diffstat (limited to '')
-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;
- // };
}
}
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.