Commit c0848cb1 authored by Anton Sabadash's avatar Anton Sabadash

Fixed issue with ARDUINO not issuing CS for radio

parent 3d049abf
......@@ -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