Code cleanup

This commit is contained in:
pascallanger committed 2016-09-21 14:28:37 +02:00
1 parent 73aab88109
commit cfcd6e5f93
24 files changed
+585 -515

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ uint16_t SHENQI_callback()
SHENQI_send_packet();
else
{
if( NRF24L01_ReadReg(NRF24L01_07_STATUS) & BV(NRF24L01_07_RX_DR))
if( NRF24L01_ReadReg(NRF24L01_07_STATUS) & _BV(NRF24L01_07_RX_DR))
{
if(LT8900_ReadPayload(packet, 3))
{