diff options
author | Eric Yilun Lin <yllin@chromium.org> | 2022-01-18 11:30:54 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-26 13:09:20 +0000 |
commit | 12a6b8e5252130020f1a2da266b1f87696cbabb4 (patch) | |
tree | 44617f53510dadda649d24754a324629ab0bf1d8 /include | |
parent | e9a78e5a3f7653e70ae66b45ee0187418e0ccf02 (diff) | |
download | chrome-ec-12a6b8e5252130020f1a2da266b1f87696cbabb4.tar.gz |
charge_manager: add command vbus
vbus command prints VBUS voltage through the
charge_manager_get_vbus_voltage()
BUG=b:203739613
TEST=uart:~$ vbus
VBUS C0 = 0 mV
VBUS C1 = 12 mV
BRANCH=none
Change-Id: I43d6da19dfb8f2f2a2bd9f60537f8a319a00b634
Signed-off-by: Eric Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3397144
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Eric Yilun Lin <yllin@google.com>
Tested-by: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 6814b481d7..9ffaacaa54 100644 --- a/include/config.h +++ b/include/config.h @@ -1563,6 +1563,7 @@ #undef CONFIG_CMD_BUTTON #define CONFIG_CMD_CBI #undef CONFIG_CMD_PD_SRCCAPS_REDUCED_SIZE +#undef CONFIG_CMD_VBUS /* * HAS_TASK_CHIPSET implies the GSC presence. |