diff options
author | Jett Rink <jettrink@chromium.org> | 2019-08-08 10:06:40 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-19 17:00:54 +0000 |
commit | a0ed5aebb22c4d9b83c257b4127a1df372751e14 (patch) | |
tree | e66b9f2244ce72ac3be4874cbc8bb24a004a00d2 /include/usb_pd.h | |
parent | df805d082e0272060d2761bfb065b8421a8eabd9 (diff) | |
download | chrome-ec-a0ed5aebb22c4d9b83c257b4127a1df372751e14.tar.gz |
usb: de-dup common code from old and new PD stack
We still need to pull out more common code between the two stacks, but
this is scaffolding with a few examples.
BRANCH=none
BUG=b:137493121
TEST=unit tests pass
Change-Id: Ibd9dda1e544e06f02aa3dde48ca7de1539700cfa
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1744655
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'include/usb_pd.h')
-rw-r--r-- | include/usb_pd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h index 4b36247a94..a1a1c0ba0f 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -1212,8 +1212,8 @@ enum pd_data_msg_type { /* CC Polarity type */ enum pd_cc_polarity_type { - POLARITY_CC1, - POLARITY_CC2 + POLARITY_CC1 = 0, + POLARITY_CC2 = 1, }; /* Protocol revision */ |