diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2022-06-09 16:11:32 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-22 18:29:00 +0000 |
commit | 4ed8f1c8eb453f9e7b306f4c9ee888da6e92d840 (patch) | |
tree | 4cb7cb0feff38ce68e50551679d898c2ac0e915e /test/usb_pd_console.c | |
parent | 7217db0090365bb30fd1c876108a7437a6eba3da (diff) | |
download | chrome-ec-4ed8f1c8eb453f9e7b306f4c9ee888da6e92d840.tar.gz |
tcpmv2: debug: Add console command to print CC state
BUG=none
BRANCH=none
TEST=Manually tested on MTLRVP
'pd <port> cc' prints correct CC state
Change-Id: Ic1b4b697ed3ed99e8940fd3c1202f8325cd178ea
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3698274
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'test/usb_pd_console.c')
-rw-r--r-- | test/usb_pd_console.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/usb_pd_console.c b/test/usb_pd_console.c index c762bebfc8..0c8ad63542 100644 --- a/test/usb_pd_console.c +++ b/test/usb_pd_console.c @@ -241,6 +241,11 @@ enum try_src_override_t tc_get_try_src_override(void) return try_src_override; } +enum pd_cc_states pd_get_task_cc_state(int port) +{ + return PD_CC_NONE; +} + static int test_command_pd_dump(void) { int argc = 3; |