diff options
author | Jett Rink <jettrink@chromium.org> | 2019-06-13 13:27:38 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-14 14:02:25 +0000 |
commit | 6d401d94fc885f2fc133f23ae6d101e5c097292e (patch) | |
tree | b17ad3072aa49bc4334d707e8e52f7dfd8d37daa /docs | |
parent | 219717c5fa78ca92e411c7ed27b7d6a29dcdd6e4 (diff) | |
download | chrome-ec-stabilize-12239.19.B.tar.gz |
motionsense: prevent loop after missing eventsstabilize-12239.19.B
We don't need to loop to figure out when to schedule the next sensor
collection event, just schedule it as soon as possible. This eliminates
a watchdog reset when we miss scheduling the sensor task and get really
far behind.
BRANCH=none
BUG=b:133190570
TEST=normal operation is fine, based on longs of failing results in bug,
this should prevent the watch reset.
Change-Id: I3001028ba393b51d1958f0136ba040eaee5e52d1
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1658521
Reviewed-by: Yuval Peress <peress@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
(cherry picked from commit 8374923a60c8b63b7bb2c1823e4f5b6078544e44)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1660583
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions