Commit 350cafbc authored by TMRh20's avatar TMRh20

Merge pull request #75 from prophet-roshak/mraa

Fixed issue with ARDUINO not issuing CS for radio
parents 3d049abf c0848cb1
......@@ -24,8 +24,9 @@ void RF24::csn(bool mode)
_SPI.setDataMode(SPI_MODE0);
_SPI.setClockDivider(SPI_CLOCK_DIV2);
#endif
#endif
#elif defined (RF24_RPi)
#if defined (RF24_RPi)
if(!mode){
_SPI.setBitOrder(BCM2835_SPI_BIT_ORDER_MSBFIRST);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment