Git
Wiki
Site
projects
/
soft
/
lpc122x
/
core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ea967b
)
Fix in CC1101 support
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Thu, 11 Jun 2020 19:09:37 +0000
(21:09 +0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:05 +0000
(17:03 +0100)
extdrv/cc1101.c
patch
|
blob
|
history
diff --git
a/extdrv/cc1101.c
b/extdrv/cc1101.c
index
2f02651
..
21c49a1
100644
(file)
--- a/
extdrv/cc1101.c
+++ b/
extdrv/cc1101.c
@@
-369,7
+369,7
@@
int cc1101_handle_rx_err(uint8_t* status)
/* Check that we are in an error state */
rx_status = cc1101_read_reg(CC1101_STATUS(rx_bytes));
- if (
rx_status
!= 0) {
+ if (
(rx_status & ~CC1101_RX_FIFO_OVERFLOW)
!= 0) {
return -CC1101_ERR_NO_RX_ERR;
}
pkt_status = cc1101_read_reg(CC1101_STATUS(packet_status));
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !