projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Clean up radio CRC handling
[fw/altos]
/
src
/
drivers
/
ao_packet.c
diff --git
a/src/drivers/ao_packet.c
b/src/drivers/ao_packet.c
index 19fe0558b91892d6de9bc316bafd0818ce6892dc..28a0c4155803dc450e81fa4ba938c6489149fef3 100644
(file)
--- a/
src/drivers/ao_packet.c
+++ b/
src/drivers/ao_packet.c
@@
-65,10
+65,8
@@
ao_packet_recv(void)
/* Check to see if we got a valid packet */
if (!dma_done)
return 0;
/* Check to see if we got a valid packet */
if (!dma_done)
return 0;
-#ifdef PKT_APPEND_STATUS_1_CRC_OK
- if (!(ao_rx_packet.status & PKT_APPEND_STATUS_1_CRC_OK))
+ if (!(ao_rx_packet.status & AO_RADIO_STATUS_CRC_OK))
return 0;
return 0;
-#endif
/* Accept packets with matching call signs, or any packet if
* our callsign hasn't been configured
/* Accept packets with matching call signs, or any packet if
* our callsign hasn't been configured