Commit ecda0fad authored by TMRh20's avatar TMRh20

Fix for #12

Seems to be the same as issue 9 affecting Due and RPi. Enabled the 140us
delay on startListening for all boards.
parent 327f0609
......@@ -528,14 +528,14 @@ void RF24::stopListening(void)
{
ce(LOW);
#if defined(__arm__)
delayMicroseconds(130);
#endif
//#if defined(__arm__)
delayMicroseconds(140);
//#endif
flush_tx();
//flush_rx();
write_register(CONFIG, ( read_register(CONFIG) ) & ~_BV(PRIM_RX) );
delayMicroseconds(130); //Found that adding this delay back actually increases response time
delayMicroseconds(140); //Found that adding this delay back actually increases response time
}
/****************************************************************************/
......
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