From 2cbc9f98ad7f7d55645da516873ff7f9d92976b4 Mon Sep 17 00:00:00 2001 From: Jett Rink Date: Fri, 2 Feb 2018 15:39:33 -0700 Subject: [PATCH] cleanup: adding port info and timing to debug message BRANCH=none TEST=none BUG=none Change-Id: I5639be21b285beef61e939f1c70c5ab5a14ade7e Signed-off-by: Jett Rink Reviewed-on: https://chromium-review.googlesource.com/900305 Reviewed-by: Edward Hill --- common/usb_pd_protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }