commit 87bb2ff270097aad2032bb053b8badefe3f57512 parent 7319ecec88a7baa709b76d96151f12fae2e57971 Author: Lukas F. Hartmann <lukas@mntre.com> Date: Mon, 27 Sep 2021 22:47:26 +0200 Merge remote-tracking branch 'origin' into wip-lpc-powersave Diffstat:
M | reform2-keyboard-fw/Keyboard.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/reform2-keyboard-fw/Keyboard.c b/reform2-keyboard-fw/Keyboard.c @@ -918,7 +918,7 @@ void EnterPowerOff(void) do { wdt_reset(); WDTCSR = (1<<WDCE) | (1<<WDE); // Enable writes to watchdog - WDTCSR = (1<<WDIE) | (1<<WDE) | (1<<WDP2) | (1<<WDP1) | (0<<WDP0); // Interrupt mode, 1s timeout + WDTCSR = (1<<WDIE) | (1<<WDE) | (0<<WDP3) | (1<<WDP2) | (1<<WDP1) | (0<<WDP0); // Interrupt mode, 1s timeout // Enter Power-save mode set_sleep_mode(SLEEP_MODE_PWR_DOWN);