keep measuring when transitioning to background
Co-authored-by: Simon Effenberg <savar@schuldeigen.de>
This commit is contained in:
parent
e6f0a89202
commit
78af44eafe
|
@ -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