Skip to content

Commit 77e12da

Browse files
committed
Diseble address check when FHSS is enabled
1 parent 9e47cdd commit 77e12da

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cores/panstamp/panstamp.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ void endOfReception(void);
4343
__attribute__((interrupt(CC1101_VECTOR)))
4444
void radioISR(void)
4545
{
46+
static int count=0;
4647
unsigned int coreIntSource = RF1AIV; // Radio Core interrupt register
4748

4849
// Radio Core interrupt
@@ -72,7 +73,7 @@ void radioISR(void)
7273
#ifdef FHSS_ENABLED
7374
// Stop FHSS dwelling timer
7475
panstamp.stopDwellingTimer();
75-
76+
7677
// Reset FHSS channel and buffer?
7778
if (resetFHSS)
7879
{
@@ -229,6 +230,7 @@ void PANSTAMP::init(uint8_t freq, uint8_t mode)
229230
delayMicroseconds(50);
230231

231232
#ifdef FHSS_ENABLED
233+
radio.disableAddressCheck();
232234
radio.setChannel(getCurrentChannel());
233235
#endif
234236

0 commit comments

Comments
 (0)