summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2021-12-12 23:27:21 -0800
committerLinux Build Service Account <lnxbuild@localhost>2021-12-12 23:27:21 -0800
commiteb168dc8d248f76ad75c67b73e5e7fe0490da757 (patch)
tree460c29292cf56ad69781baecf5ea25ee9ca0786e
parentbe93cb8bb31da125a4412f676fb9debbac3d4f54 (diff)
parent58c3ca45bd856a600b61ec9b4426bca640088cdd (diff)
Merge 58c3ca45bd856a600b61ec9b4426bca640088cdd on remote branch
Change-Id: I21b9d928e2c9fdb4288aba58307271e40b72be1c
-rw-r--r--core/LocApiBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp
index 6a0ff84..860da2e 100644
--- a/core/LocApiBase.cpp
+++ b/core/LocApiBase.cpp
@@ -1034,7 +1034,7 @@ bool ElapsedRealtimeEstimator::getCurrentTime(
struct timespec sinceBootTime;
struct timespec sinceBootTimeTest;
bool clockGetTimeSuccess = false;
- const uint32_t MAX_TIME_DELTA_VALUE_NANOS = 10000;
+ const uint32_t MAX_TIME_DELTA_VALUE_NANOS = 15000;
const uint32_t MAX_GET_TIME_COUNT = 20;
/* Attempt to get CLOCK_REALTIME and CLOCK_BOOTIME in succession without an interruption
or context switch (for up to MAX_GET_TIME_COUNT times) to avoid errors in the calculation */