reset wait time after waiting
This commit is contained in:
parent
232df37f5c
commit
580ba5e577
@ -412,6 +412,9 @@ void setup() {
|
|||||||
Serial.flush();
|
Serial.flush();
|
||||||
/* Using this function, an Arduino Nano (with its voltage regulator and TTL module removed) draws ~6μA. */
|
/* Using this function, an Arduino Nano (with its voltage regulator and TTL module removed) draws ~6μA. */
|
||||||
low_power_sleep_minutes(settings.recording_delay);
|
low_power_sleep_minutes(settings.recording_delay);
|
||||||
|
/* Reset wait time. */
|
||||||
|
settings.recording_delay = 0;
|
||||||
|
save_settings();
|
||||||
}
|
}
|
||||||
// Activate Components
|
// Activate Components
|
||||||
#ifdef PIN_COMPONENT_SWITCH
|
#ifdef PIN_COMPONENT_SWITCH
|
||||||
|
Loading…
Reference in New Issue
Block a user