spirilis / msprf24

nRF24L01+ Library for MSP430 microcontroller line
ISC License
103 stars 32 forks source link

Mask typo #13

Closed infinityis closed 10 years ago

infinityis commented 10 years ago

I know it's really minor, but I think in msprf24.c, in function msprf24_set_speed_power(), line 550, rf_speed_power should be masked with 0x1F instead of 0x2F.

Thank you for all your effort in putting this code together!

infinityis commented 10 years ago

Nevermind, just found the datasheet for the older version of the device and realized that bit isn't masked for backwards compatibility reasons.