diff options
author | Jeremy Bettis <jbettis@google.com> | 2021-04-06 12:51:02 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-05-05 19:16:27 +0000 |
commit | bb6943694a22efe71625cdaf1d7a809979b97528 (patch) | |
tree | e9a7f698df268762dab01854fa8d1bd46d3641b5 /test/build.mk | |
parent | 984c6e145b834a276e8508f54f2d5171554ed41b (diff) | |
download | chrome-ec-bb6943694a22efe71625cdaf1d7a809979b97528.tar.gz |
ec: Parse battery and augmented PDOs correctly.
Fixes pd_extract_pdo_power() to output the correct voltage and current
for non-fixed PDOs. Add unit test.
BRANCH=servo
BUG=b:178484932
TEST=added
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I791de41f00d75306a377e1ab9fb54409d5f537e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2827325
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Brian Nemec <bnemec@chromium.org>
Diffstat (limited to 'test/build.mk')
0 files changed, 0 insertions, 0 deletions