NRF library that can auto retransmit

Dependents:   DISCO_L475VG_IOT01-Sensors-BSP IeTI_FFT_BT point_bluetooth_prof

Files at this revision

API Documentation at this revision

Comitter:
krissl
Date:
Mon Dec 17 12:18:01 2018 +0000
Parent:
1:275c6012a1fb
Commit message:
fixed fuckup

Changed in this revision

nRF24L01P.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 275c6012a1fb -r 959c573e3bf5 nRF24L01P.cpp
--- 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) {