From 58c507ee45ab08445e06030a6e29dc83641a6ddf Mon Sep 17 00:00:00 2001 From: Patric Gruber Date: Fri, 31 Mar 2023 10:25:36 +0200 Subject: [PATCH] increase task delay when waiting in the background to 10s --- src/heartratetask/HeartRateTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heartratetask/HeartRateTask.cpp b/src/heartratetask/HeartRateTask.cpp index 0159f938..f332fadf 100644 --- a/src/heartratetask/HeartRateTask.cpp +++ b/src/heartratetask/HeartRateTask.cpp @@ -148,7 +148,7 @@ int HeartRateTask::CurrentTaskDelay() { case States::Running: return 100; case States::BackgroundWaiting: - return 500; + return 10000; default: return portMAX_DELAY; }