diff options
Diffstat (limited to 'examples/asmled.py')
-rw-r--r-- | examples/asmled.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/asmled.py b/examples/asmled.py index 09a06c184a..4ff35dfdf8 100644 --- a/examples/asmled.py +++ b/examples/asmled.py @@ -1,5 +1,9 @@ # flash LED #1 using inline assembler # this version is overly verbose and uses word stores +# +# ruff: noqa: F821 - @asm_thumb decorator adds names to function scope + + @micropython.asm_thumb def flash_led(r0): movw(r1, (stm.GPIOA + stm.GPIO_BSRRL) & 0xFFFF) |