madleech / ArduinoCMRI

Arduino library for connecting your computer to your model railroad.
27 stars 18 forks source link

Update CMRI.cpp #1

Closed ensoniq closed 11 years ago

ensoniq commented 11 years ago

Updating "get_bit" function: When returning bit positions (pos) >= 8, the values would be bit-shifted off the end of the byte "c".