Commit ded04ff2 authored by Käppler's avatar Käppler
Browse files

Do not check flash button during calibration

It does not make sense to toggle night mode
or start another round of countdown during
calibration.

Closes #4.
parent 91b45184
Pipeline #4039 failed with stage
in 1 minute and 56 seconds
......@@ -141,7 +141,12 @@ void loop() {
keepServicesAlive();
// Short press for night mode, Long press for calibration.
checkFlashButton();
// Inactive during calibration.
if (!(sensor::current_state == sensor::PREPARE_CALIBRATION_STABLE ||
sensor::current_state == sensor::PREPARE_CALIBRATION_UNSTABLE))
{
checkFlashButton();
}
checkSerialInput();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment