File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ int loraAckState = stReady;
135
135
#endif // FDRS_GATEWAY
136
136
137
137
volatile bool transmitFlag = false; // flag to indicate transmission or reception state
138
- volatile bool enableInterrupt = true; // disable interrupt when it's not needed
138
+ volatile bool enableFDRSInterrupt = true; // disable interrupt when it's not needed
139
139
volatile bool operationDone = false; // flag to indicate that a packet was sent or received
140
140
unsigned long loraAckTimeout = 0 ;
141
141
unsigned long rxCountDR = 0 ; // Number of total LoRa DR packets destined for us and of valid size
@@ -153,7 +153,7 @@ ICACHE_RAM_ATTR
153
153
void setFlag (void )
154
154
{
155
155
// check if the interrupt is enabled
156
- if (!enableInterrupt )
156
+ if (!enableFDRSInterrupt )
157
157
{
158
158
return ;
159
159
}
@@ -638,7 +638,7 @@ crcResult LoRaTxRxOperation()
638
638
// DBG("TxFlag: " + String(transmitFlag));
639
639
// DBG("TxStatus: " + String(TxStatus));
640
640
641
- enableInterrupt = false;
641
+ enableFDRSInterrupt = false;
642
642
operationDone = false;
643
643
if (transmitFlag ) // the previous operation was transmission
644
644
{
@@ -663,7 +663,7 @@ crcResult LoRaTxRxOperation()
663
663
// Serial.println("RxINT!");
664
664
}
665
665
delay (10 );
666
- enableInterrupt = true;
666
+ enableFDRSInterrupt = true;
667
667
}
668
668
return crcReturned ;
669
669
}
You can’t perform that action at this time.
0 commit comments