aboutsummaryrefslogtreecommitdiff
path: root/tests/pyb
diff options
context:
space:
mode:
authorDamien George2018-12-04 19:16:16 +1100
committerDamien George2018-12-04 19:16:16 +1100
commit9262f541389d9dc3bb6e1ff06e00b8250b22b671 (patch)
treebfc0b52742a6089c1e1f022f8641058ac160860e /tests/pyb
parentda1d849ad19eb04f3dea27e24ca723343225824e (diff)
stm32/uart: Always show the flow setting when printing a UART object.
Also change the order of printing of flow so it is after stop (so bits, parity, stop are one after the other), and reduce code size by using mp_print_str instead of mp_printf where possible. See issue #1981.
Diffstat (limited to 'tests/pyb')
-rw-r--r--tests/pyb/uart.py.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pyb/uart.py.exp b/tests/pyb/uart.py.exp
index b5fe0cd0b..434cdfeeb 100644
--- a/tests/pyb/uart.py.exp
+++ b/tests/pyb/uart.py.exp
@@ -12,8 +12,8 @@ UART XB
UART YA
UART YB
ValueError Z
-UART(1, baudrate=9600, bits=8, parity=None, stop=1, timeout=1000, timeout_char=3, read_buf_len=64)
-UART(1, baudrate=2400, bits=8, parity=None, stop=1, timeout=1000, timeout_char=7, read_buf_len=64)
+UART(1, baudrate=9600, bits=8, parity=None, stop=1, flow=0, timeout=1000, timeout_char=3, read_buf_len=64)
+UART(1, baudrate=2400, bits=8, parity=None, stop=1, flow=0, timeout=1000, timeout_char=7, read_buf_len=64)
0
3
4