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;
break;
case States::Measuring:
state = States::BackgroundWaiting;
StartWaiting();
state = States::BackgroundMeasuring;
break;
case States::Idle:
case States::BackgroundWaiting: