save more power (actually 6μA this time)

This commit is contained in:
r4 2022-04-18 23:15:19 +02:00
parent 25d7967d69
commit 1f17f87822
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ static void low_power_sleep_minutes(unsigned long t) {
wdt_enable(WDTO_8S); /* Start watchdog timer for 8s. */
WDTCSR |= (1 << WDIE); /* Enable watchdog interrupt. */
do {
set_sleep_mode(SLEEP_MODE_PWR_SAVE);
set_sleep_mode(SLEEP_MODE_PWR_DOWN);
cli();
sleep_enable();
sleep_bod_disable();