summaryrefslogtreecommitdiff
path: root/board/amenia/usb_pd_policy.c
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2016-04-16 13:59:11 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-18 11:30:19 -0700
commit1e7c280491232110e1006d545f9a61ca05d469d5 (patch)
tree582f53984a566840e43180e8d0d12e404ceffe64 /board/amenia/usb_pd_policy.c
parentb10d12f1c95fa6c13c83f1da34bbaf21063d9a2b (diff)
downloadchrome-ec-1e7c280491232110e1006d545f9a61ca05d469d5.tar.gz
g: fix usb console LF handling
It was observed that when connecting to the CR50 console over USB, there the line feed (LF) characters are not supplemented by carriage return (CR), which causes weird console output. Detailed examination has shown that uart_putc() does not do the right thing itself and also bypasses __tx_char() used by uart_puts(), which does the right thing. The simplest solution is to have uart_putc() re-use all the smarts of uart_puts(). BRANCH=none BUG=none TEST=verified that usb console output does not suffer from the "lost CR" syndrome any more. Change-Id: I2a1f84b2524c41eb6e84186141b0b9ac55e87ee0 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/339217 Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'board/amenia/usb_pd_policy.c')
0 files changed, 0 insertions, 0 deletions