diff options
author | Damien George <damien.p.george@gmail.com> | 2015-02-27 00:40:08 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-02-27 00:40:08 +0000 |
commit | b67253e96f2bf9225c5652feb3bf41e30c76230e (patch) | |
tree | f8a985f20a2ba83b29b4751def82fbdfbbbe08b4 | |
parent | 4852e09c7914a4d4f2938dddbe155a2075bb2eb3 (diff) | |
download | micropython-b67253e96f2bf9225c5652feb3bf41e30c76230e.tar.gz micropython-b67253e96f2bf9225c5652feb3bf41e30c76230e.zip |
tests: Update pyb/uart.py test since baudrate of 1200 is too low.
-rw-r--r-- | tests/pyb/uart.py | 2 | ||||
-rw-r--r-- | tests/pyb/uart.py.exp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/pyb/uart.py b/tests/pyb/uart.py index c83d18349e..dff5a56878 100644 --- a/tests/pyb/uart.py +++ b/tests/pyb/uart.py @@ -5,7 +5,7 @@ uart = UART(1, 9600) uart = UART(1, 9600, bits=8, parity=None, stop=1) print(uart) -uart.init(1200) +uart.init(2400) print(uart) print(uart.any()) diff --git a/tests/pyb/uart.py.exp b/tests/pyb/uart.py.exp index dd98e17968..7c326c0230 100644 --- a/tests/pyb/uart.py.exp +++ b/tests/pyb/uart.py.exp @@ -1,5 +1,5 @@ UART(1, baudrate=9600, bits=8, parity=None, stop=1, timeout=1000, timeout_char=0, read_buf_len=64) -UART(1, baudrate=1200, bits=8, parity=None, stop=1, timeout=1000, timeout_char=0, read_buf_len=64) +UART(1, baudrate=2400, bits=8, parity=None, stop=1, timeout=1000, timeout_char=0, read_buf_len=64) False 3 4 |