NRF library that can auto retransmit

Dependents:   DISCO_L475VG_IOT01-Sensors-BSP IeTI_FFT_BT point_bluetooth_prof

Revision:
2:959c573e3bf5
Parent:
1:275c6012a1fb
--- a/nRF24L01P.cpp	Mon Dec 17 12:03:40 2018 +0000
+++ b/nRF24L01P.cpp	Mon Dec 17 12:18:01 2018 +0000
@@ -821,7 +821,7 @@
     uint32_t value = count;
     value <<= 4;
     value += delay; 
-    setRegister(_NRF24L01P_REG_SETUP_RETR, delay);
+    setRegister(_NRF24L01P_REG_SETUP_RETR, value);
 }
 bool nRF24L01P::readable(int pipe) {