mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-08 20:17:16 +02:00
fixed communication #656
This commit is contained in:
parent
edefcf1c83
commit
0e6faa79e3
4 changed files with 6 additions and 4 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "../utils/dbg.h"
|
||||
#include <RF24.h>
|
||||
#include "../utils/crc.h"
|
||||
#include "../config/config.h"
|
||||
|
||||
#define SPI_SPEED 1000000
|
||||
|
||||
|
@ -43,8 +44,6 @@ const char* const rf24AmpPowerNames[] = {"MIN", "LOW", "HIGH", "MAX"};
|
|||
|
||||
#define BIT_CNT(x) ((x)<<3)
|
||||
|
||||
static volatile bool mIrqRcvd;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// HM Radio class
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -313,6 +312,7 @@ class HmRadio {
|
|||
mSendCnt++;
|
||||
}
|
||||
|
||||
volatile bool mIrqRcvd;
|
||||
uint64_t DTU_RADIO_ID;
|
||||
|
||||
uint8_t mRfChLst[RF_CHANNELS];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue