Skip to content

Commit 3ddac54

Browse files
kgillsc1728p9
authored andcommitted
[Test] Moving the setting of serial timeout.
1 parent cc97a09 commit 3ddac54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/serial_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ def test_serial(workspace, parent_test):
263263
# Discard data
264264
sp.read(1024)
265265
# Read any leftover data
266+
sp.flush()
266267
sp.raw_serial.baudrate = 115200
267268
sp.set_read_timeout(1.0)
268269
sp.read(128 * len(standard_baud))

0 commit comments

Comments
 (0)