diff options
| -rw-r--r-- | src/peripherals/avrdx-slpctrl.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripherals/avrdx-slpctrl.ts b/src/peripherals/avrdx-slpctrl.ts index 93cae58..1e75c12 100644 --- a/src/peripherals/avrdx-slpctrl.ts +++ b/src/peripherals/avrdx-slpctrl.ts @@ -29,7 +29,7 @@ export class AVRDxSLPCTRL { const nextEvent = (this.cpu as any).nextClockEvent; if (nextEvent) { - this.sleepUntil = Math.min(this.sleepUntil, nextEvent.cycles); + this.sleepUntil = nextEvent.cycles; } } } |
