File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed
Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -1156,7 +1156,7 @@ return 0;
11561156*OUTPUT :flag: 0 no data; 1 receive data
11571157****************************************************************/
11581158bool ELECHOUSE_CC1101::CheckRxFifo (int t){
1159- SetRx ();
1159+ if (trxstate!= 2 ){ SetRx ();}
11601160if (SpiReadStatus (CC1101_RXBYTES) & BYTES_IN_RXFIFO){
11611161delay (t);
11621162return 1 ;
@@ -1172,7 +1172,7 @@ return 0;
11721172****************************************************************/
11731173byte ELECHOUSE_CC1101::CheckReceiveFlag (void )
11741174{
1175- SetRx ();
1175+ if (trxstate!= 2 ){ SetRx ();}
11761176 if (digitalRead (GDO0)) // receive data
11771177 {
11781178 while (digitalRead (GDO0));
Original file line number Diff line number Diff line change 1- # SmartRC-CC1101-Driver-Lib_V2.5.4
1+ # SmartRC-CC1101-Driver-Lib_V2.5.5
22
33Note: Find out about the laws in your country.
44Use at your own risk.
@@ -132,6 +132,13 @@ https://www.paypal.me/LittleSatan666
132132
133133Thank You!
134134
135+ ---------------------------------------------
136+ Changelog: SmartRC-CC1101-Driver-Lib_V2.5.5
137+ ---------------------------------------------
138+ 23.01.2021
139+
140+ Driver Library : Error correction for CheckRxFifo and CheckReceiveFlag (reception internal CC1101 function).
141+
135142---------------------------------------------
136143Changelog: SmartRC-CC1101-Driver-Lib_V2.5.4
137144---------------------------------------------
Original file line number Diff line number Diff line change 1111 "type" : " git" ,
1212 "url" : " https://github.com/LSatan/SmartRC-CC1101-Driver-Lib"
1313 },
14- "version" : " 2.5.4 " ,
14+ "version" : " 2.5.5 " ,
1515 "frameworks" : [
1616 " arduino"
1717 ],
Original file line number Diff line number Diff line change 11name =SmartRC-CC1101-Driver-Lib
2- version =2.5.4
2+ version =2.5.5
33author =LSatan
44maintainer =LSatan <littlesatan.666.ls@gmail.com>
55sentence =Driver for cc1101.
You can’t perform that action at this time.
0 commit comments