lancaster-university / microbit-dal

http://lancaster-university.github.io/microbit-docs
Other
254 stars 130 forks source link

Reverse ordering of condition check [MicroBitSerial.cpp] #419

Open jamesadevine opened 5 years ago

jamesadevine commented 5 years ago

A byte would be read and then dropped if bufferIndex >= bufferLen. Reversing the condition check fixes this bug.

pelikhan commented 4 years ago

Can we get this in?