diff options
Diffstat (limited to 'src/peripherals')
| -rw-r--r-- | src/peripherals/avrdx-slpctrl.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/peripherals/avrdx-slpctrl.ts b/src/peripherals/avrdx-slpctrl.ts index 307810e..d592593 100644 --- a/src/peripherals/avrdx-slpctrl.ts +++ b/src/peripherals/avrdx-slpctrl.ts @@ -31,6 +31,10 @@ export class AVRDxSLPCTRL { this.handleSleep(); }; + cpu.onBeforeInterrupt = () => { + this.sleeping = null; + }; + this.callbacks = []; } |
