Skip to content

Commit b67253e

Browse files
committed
tests: Update pyb/uart.py test since baudrate of 1200 is too low.
1 parent 4852e09 commit b67253e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/pyb/uart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
uart = UART(1, 9600, bits=8, parity=None, stop=1)
66
print(uart)
77

8-
uart.init(1200)
8+
uart.init(2400)
99
print(uart)
1010

1111
print(uart.any())

tests/pyb/uart.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
UART(1, baudrate=9600, bits=8, parity=None, stop=1, timeout=1000, timeout_char=0, read_buf_len=64)
2-
UART(1, baudrate=1200, bits=8, parity=None, stop=1, timeout=1000, timeout_char=0, read_buf_len=64)
2+
UART(1, baudrate=2400, bits=8, parity=None, stop=1, timeout=1000, timeout_char=0, read_buf_len=64)
33
False
44
3
55
4

0 commit comments

Comments
 (0)