Songw Jiang / nRF24L01P

Dependents:   RC_Green Drown RC_RX

Revision:
4:756125f83a27
Parent:
2:bee3d3ba881f
Child:
5:d0c9b8b5cf75
--- a/nRF24L01P.cpp	Tue Dec 10 00:22:33 2019 +0000
+++ b/nRF24L01P.cpp	Tue Dec 10 00:55:49 2019 +0000
@@ -87,7 +87,7 @@
 		tx_buff[i]=tx_buf[i]&0xFF;
 	nRF24L01P::NRF24L01_Set_TX();
 	ce_=0;
-	nRF24L01P::NRF_Write_Buf(WR_TX_PLOAD, tx_buf, len);
+	nRF24L01P::NRF_Write_Buf(WR_TX_PLOAD, tx_buff, len);
 	ce_=1;
 	wait_us(10);
 	ledtick++;