Skip to content

Commit 642ef9c

Browse files
authored
Add files via upload
1 parent b60cd23 commit 642ef9c

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

ELECHOUSE_CC1101_SRC_DRV.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ return 0;
11561156
*OUTPUT :flag: 0 no data; 1 receive data
11571157
****************************************************************/
11581158
bool ELECHOUSE_CC1101::CheckRxFifo(int t){
1159-
SetRx();
1159+
if(trxstate!=2){SetRx();}
11601160
if(SpiReadStatus(CC1101_RXBYTES) & BYTES_IN_RXFIFO){
11611161
delay(t);
11621162
return 1;
@@ -1172,7 +1172,7 @@ return 0;
11721172
****************************************************************/
11731173
byte ELECHOUSE_CC1101::CheckReceiveFlag(void)
11741174
{
1175-
SetRx();
1175+
if(trxstate!=2){SetRx();}
11761176
if(digitalRead(GDO0)) //receive data
11771177
{
11781178
while (digitalRead(GDO0));

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SmartRC-CC1101-Driver-Lib_V2.5.4
1+
# SmartRC-CC1101-Driver-Lib_V2.5.5
22

33
Note: Find out about the laws in your country.
44
Use at your own risk.
@@ -132,6 +132,13 @@ https://www.paypal.me/LittleSatan666
132132

133133
Thank 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
---------------------------------------------
136143
Changelog: SmartRC-CC1101-Driver-Lib_V2.5.4
137144
---------------------------------------------

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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
],

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SmartRC-CC1101-Driver-Lib
2-
version=2.5.4
2+
version=2.5.5
33
author=LSatan
44
maintainer=LSatan <littlesatan.666.ls@gmail.com>
55
sentence=Driver for cc1101.

0 commit comments

Comments
 (0)