From caa352a52bdd19ce21feed92d179cd862cd9986c Mon Sep 17 00:00:00 2001 From: Neradoc Date: Fri, 16 Sep 2022 03:53:11 +0200 Subject: [PATCH] update UART-Between-Boards guide to work around NRF52 bug before CP8 --- UART-Between-Boards/code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UART-Between-Boards/code.py b/UART-Between-Boards/code.py index adb07fd31..b0eb5db72 100644 --- a/UART-Between-Boards/code.py +++ b/UART-Between-Boards/code.py @@ -65,7 +65,7 @@ while True: pass byte_read = uart.read(1) # Read one byte over UART lines - if byte_read is None: + if not byte_read: # Nothing read. continue