summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-02-02 15:39:33 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-02-05 19:08:44 -0800
commit2cbc9f98ad7f7d55645da516873ff7f9d92976b4 (patch)
tree1e128bb7f7f92df530b7b263d24ccccde432834e
parent06bbd9dd6c65bb9197bf362a2229134b090813d8 (diff)
downloadchrome-ec-2cbc9f98ad7f7d55645da516873ff7f9d92976b4.tar.gz
cleanup: adding port info and timing to debug message
BRANCH=none TEST=none BUG=none Change-Id: I5639be21b285beef61e939f1c70c5ab5a14ade7e Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/900305 Reviewed-by: Edward Hill <ecgh@chromium.org>
-rw-r--r--common/usb_pd_protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c
index 6d82557c31..e78e8f81e4 100644
--- a/common/usb_pd_protocol.c
+++ b/common/usb_pd_protocol.c
@@ -621,7 +621,7 @@ static int send_source_cap(int port)
bit_len = pd_transmit(port, TCPC_TX_SOP, header, src_pdo);
if (debug_level >= 2)
- CPRINTF("srcCAP>%d\n", bit_len);
+ CPRINTS("C%d srcCAP>%d", port, bit_len);
return bit_len;
}