diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2017-10-02 08:14:22 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-10-18 08:30:16 -0700 |
commit | 7501654d201199fe12d351a6ae0ffecdb3ca7933 (patch) | |
tree | a576999ee1f66489e74d09650be648246c5468cd /board/servo_v4/board.c | |
parent | 8434ed8f1020d47d11bf38193700d4e7b6eb1694 (diff) | |
download | chrome-ec-7501654d201199fe12d351a6ae0ffecdb3ca7933.tar.gz |
chip/stm32/usart: Add flags to usart_config
Allows setting TXINV/RXINV bits.
BRANCH=none
BUG=b:65697962
TEST=make BOARD=wand -j
Change-Id: Ib1bb290cd9758c53b98c8fc1ca1a9369c8cff39e
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/694561
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/servo_v4/board.c')
-rw-r--r-- | board/servo_v4/board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/servo_v4/board.c b/board/servo_v4/board.c index baa6ffcaa5..17a653af41 100644 --- a/board/servo_v4/board.c +++ b/board/servo_v4/board.c @@ -162,6 +162,7 @@ static struct usart_config const usart3 = usart_rx_interrupt, usart_tx_interrupt, 115200, + 0, usart3_to_usb, usb_to_usart3); @@ -192,6 +193,7 @@ static struct usart_config const usart4 = usart_rx_interrupt, usart_tx_interrupt, 9600, + 0, usart4_to_usb, usb_to_usart4); |