summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2020-08-03 16:12:09 -0700
committerCommit Bot <commit-bot@chromium.org>2020-08-05 01:20:10 +0000
commitc87d8834ced67715e70b8c456daaf0b33127e097 (patch)
tree685c09a70f789c2f5a94efc947bf3f3810dd58c0 /test
parentb9da49edc4423dfd989dd5ade792ceb53c142f64 (diff)
downloadchrome-ec-c87d8834ced67715e70b8c456daaf0b33127e097.tar.gz
battery: Remove redundant lfcc variable when calculate compensation
The value of lfcc variable, which is copied from host_get_memmap(EC_MEMMAP_BATT_LFCC), is actually the compensated full capacity. Use the value of *full directly. BRANCH=None BUG=b:162604872 TEST=Checked the battery console command result. Change-Id: Iae103dd325679333c524698ce7a86cdc96a3587e Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2335885 Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions