diff options
author | Vic Yang <victoryang@chromium.org> | 2013-03-20 10:58:12 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-03-20 23:47:46 -0700 |
commit | cdb08e12217367f0ac8c6ce0dc1df2e27f80563e (patch) | |
tree | 0450b0b7f851106752698d2b3a269d04b4f6de3b /common/keyboard_test.c | |
parent | 89ad54d2b2c4abdb7ffdba8b9912f7be34fbc686 (diff) | |
download | chrome-ec-cdb08e12217367f0ac8c6ce0dc1df2e27f80563e.tar.gz |
Use timeout instead of retry count for pre-charging
Now that PMU task is waken not only by timer, we shouldn't depend on
retry count anymore. This moves pre-charging timeout to actually use
timestamp.
BUG=none
TEST=Remove battery and boot. See charge state goes to error after 15
seconds.
BRANCH=spring
Change-Id: Iff587bc824ffee93650184c14f1fc403d26ebc06
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/45957
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common/keyboard_test.c')
0 files changed, 0 insertions, 0 deletions