adafruit / Adafruit_CircuitPython_PIOASM

Simple assembler to convert pioasm to bytes
MIT License
27 stars 17 forks source link

Fix pull instruction parsing #3

Closed LuminousOwl closed 3 years ago

LuminousOwl commented 3 years ago

PIO PULL command parsing was assuming an additional parameter always exists, but it is not required. I've updated to check the length before attempting to check the parameter value.