diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2021-12-12 23:27:21 -0800 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2021-12-12 23:27:21 -0800 |
commit | eb168dc8d248f76ad75c67b73e5e7fe0490da757 (patch) | |
tree | 460c29292cf56ad69781baecf5ea25ee9ca0786e /core/LocApiBase.cpp | |
parent | be93cb8bb31da125a4412f676fb9debbac3d4f54 (diff) | |
parent | 58c3ca45bd856a600b61ec9b4426bca640088cdd (diff) |
Merge 58c3ca45bd856a600b61ec9b4426bca640088cdd on remote branch
Change-Id: I21b9d928e2c9fdb4288aba58307271e40b72be1c
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 2 |
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 */ |