diff options
Diffstat (limited to 'common/usb_pd_protocol.c')
-rw-r--r-- | common/usb_pd_protocol.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c index 2d0e1962d9..e496e3e821 100644 --- a/common/usb_pd_protocol.c +++ b/common/usb_pd_protocol.c @@ -328,8 +328,7 @@ static int send_validate_message(int port, uint16_t header, /* retry 3 times if we are not getting a valid answer */ for (r = 0; r <= PD_RETRY_COUNT; r++) { - int bit_len; - uint16_t head; + int bit_len, head; /* write the encoded packet in the transmission buffer */ bit_len = prepare_message(port, header, cnt, data); /* Transmit the packet */ |