reset wait time after waiting

This commit is contained in:
r4 2022-04-18 19:32:11 +02:00
parent 232df37f5c
commit 580ba5e577
1 changed files with 3 additions and 0 deletions

View File

@ -412,6 +412,9 @@ void setup() {
Serial.flush();
/* Using this function, an Arduino Nano (with its voltage regulator and TTL module removed) draws ~6μA. */
low_power_sleep_minutes(settings.recording_delay);
/* Reset wait time. */
settings.recording_delay = 0;
save_settings();
}
// Activate Components
#ifdef PIN_COMPONENT_SWITCH