implemented enableAutoRetransmit

Dependents:   nRF24L01P_Hello_World

Files at this revision

API Documentation at this revision

Comitter:
ViriJay
Date:
Fri Jan 18 11:06:30 2019 +0000
Parent:
1:1d0faf3347d1
Commit message:
ART fail fix

Changed in this revision

nRF24L01P.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/nRF24L01P.cpp	Tue Dec 18 10:57:35 2018 +0000
+++ b/nRF24L01P.cpp	Fri Jan 18 11:06:30 2019 +0000
@@ -552,7 +552,7 @@
 	uint32_t value = count;
     value <<= 4;
     value += delay; 
-	setRegister(_NRF24L01P_REG_SETUP_RETR, _NRF24L01P_SETUP_RETR_NONE);
+	setRegister(_NRF24L01P_REG_SETUP_RETR, value);
 }
 
 void nRF24L01P::disableAutoRetransmit(void) {