summaryrefslogtreecommitdiffstatshomepage
path: root/examples/rp2/pio_uart_rx.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rp2/pio_uart_rx.py')
-rw-r--r--examples/rp2/pio_uart_rx.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/rp2/pio_uart_rx.py b/examples/rp2/pio_uart_rx.py
index 080b6bd639..f46aaa6a5e 100644
--- a/examples/rp2/pio_uart_rx.py
+++ b/examples/rp2/pio_uart_rx.py
@@ -8,6 +8,8 @@
# - PIO irq handler
# - using the second core via _thread
+# ruff: noqa: F821 - @asm_pio decorator adds names to function scope
+
import _thread
from machine import Pin, UART
from rp2 import PIO, StateMachine, asm_pio