diff options
author | Alec Berg <alecaberg@chromium.org> | 2015-01-02 09:40:31 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-01-03 00:46:15 +0000 |
commit | 5e534c13a4d097871d783eb095eb2cd54a4b3a8e (patch) | |
tree | 0ee030804ab283432f4037675e9dd8b809ac7620 | |
parent | 0a2807572ef406610cb90c3de422dea8b9a6955c (diff) | |
download | chrome-ec-5e534c13a4d097871d783eb095eb2cd54a4b3a8e.tar.gz |
pd: change retry counter to 3
Increment retry counter to 3 (4 total attempts)
BUG=chrome-os-partner:35054
BRANCH=samus
TEST=load onto zinger. on samus run "pd enable 0" to disable
pd communication. plug in zinger and note 4 total source cap
packets sent every 100ms.
Change-Id: Ifc02db5f47d2ee72dad08e3973a0fb84d3ca46f9
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/238079
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | common/usb_pd_protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c index 0dcec9bec2..4c8b72c558 100644 --- a/common/usb_pd_protocol.c +++ b/common/usb_pd_protocol.c @@ -174,7 +174,7 @@ static const uint8_t dec4b5b[] = { /* PD counter definitions */ #define PD_MESSAGE_ID_COUNT 7 -#define PD_RETRY_COUNT 2 +#define PD_RETRY_COUNT 3 #define PD_HARD_RESET_COUNT 2 #define PD_CAPS_COUNT 50 |