Skip to content

Commit caa352a

Browse files
committed
update UART-Between-Boards guide to work around NRF52 bug before CP8
1 parent 41978da commit caa352a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UART-Between-Boards/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
pass
6666

6767
byte_read = uart.read(1) # Read one byte over UART lines
68-
if byte_read is None:
68+
if not byte_read:
6969
# Nothing read.
7070
continue
7171

0 commit comments

Comments
 (0)