Merge branch 'heartrate-measurements-in-background' of github.com:patricgruber/InfiniTime into heartrate-measurements-in-background
This commit is contained in:
commit
0978964b7d
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue