Merge branch 'heartrate-measurements-in-background' of github.com:patricgruber/InfiniTime into heartrate-measurements-in-background

This commit is contained in:
Patric Gruber 2024-08-31 00:40:10 +02:00
commit 0978964b7d

View file

@ -102,8 +102,7 @@ void HeartRateTask::HandleGoToSleep() {
state = States::Idle; state = States::Idle;
break; break;
case States::Measuring: case States::Measuring:
state = States::BackgroundWaiting; state = States::BackgroundMeasuring;
StartWaiting();
break; break;
case States::Idle: case States::Idle:
case States::BackgroundWaiting: case States::BackgroundWaiting: