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;
|
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:
|
||||||
|
|
Loading…
Reference in a new issue