Commit b5ea5d8e authored by Witold Markowski's avatar Witold Markowski

Fix for #213.

parent 5a0ec585
...@@ -1393,6 +1393,7 @@ bool RF24::setDataRate(rf24_datarate_e speed) ...@@ -1393,6 +1393,7 @@ bool RF24::setDataRate(rf24_datarate_e speed)
{ {
bool result = false; bool result = false;
uint8_t setup = read_register(RF_SETUP) ; uint8_t setup = read_register(RF_SETUP) ;
// HIGH and LOW '00' is 1Mbs - our default // HIGH and LOW '00' is 1Mbs - our default
setup &= ~(_BV(RF_DR_LOW) | _BV(RF_DR_HIGH)) ; setup &= ~(_BV(RF_DR_LOW) | _BV(RF_DR_HIGH)) ;
......
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