bbcmicrobit / micropython

Port of MicroPython for the BBC micro:bit
https://microbit-micropython.readthedocs.io
Other
603 stars 284 forks source link

lib: Add "bx lr" instruction to end of assembly neopixel function. #606

Closed dpgeorge closed 5 years ago

dpgeorge commented 5 years ago

Luckily in the output firmware this function was followed by a simple function that just returned 0, so that's why it worked without this return.

microbit-carlos commented 5 years ago

Good catch, I don't have any neopixels at hand to test, but the fix looks good to me for merge.

dpgeorge commented 5 years ago

Ok, merged in e2294590a314b90463a598d3deebd30843f2f536