increase task delay when waiting in the background to 10s
This commit is contained in:
parent
f7b1111e05
commit
58c507ee45
|
@ -148,7 +148,7 @@ int HeartRateTask::CurrentTaskDelay() {
|
||||||
case States::Running:
|
case States::Running:
|
||||||
return 100;
|
return 100;
|
||||||
case States::BackgroundWaiting:
|
case States::BackgroundWaiting:
|
||||||
return 500;
|
return 10000;
|
||||||
default:
|
default:
|
||||||
return portMAX_DELAY;
|
return portMAX_DELAY;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue