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;
135135#endif // FDRS_GATEWAY
136136
137137volatile 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
139139volatile bool operationDone = false; // flag to indicate that a packet was sent or received
140140unsigned long loraAckTimeout = 0 ;
141141unsigned long rxCountDR = 0 ; // Number of total LoRa DR packets destined for us and of valid size
@@ -153,7 +153,7 @@ ICACHE_RAM_ATTR
153153void setFlag (void )
154154{
155155 // check if the interrupt is enabled
156- if (!enableInterrupt )
156+ if (!enableFDRSInterrupt )
157157 {
158158 return ;
159159 }
@@ -638,7 +638,7 @@ crcResult LoRaTxRxOperation()
638638 // DBG("TxFlag: " + String(transmitFlag));
639639 // DBG("TxStatus: " + String(TxStatus));
640640
641- enableInterrupt = false;
641+ enableFDRSInterrupt = false;
642642 operationDone = false;
643643 if (transmitFlag ) // the previous operation was transmission
644644 {
@@ -663,7 +663,7 @@ crcResult LoRaTxRxOperation()
663663 // Serial.println("RxINT!");
664664 }
665665 delay (10 );
666- enableInterrupt = true;
666+ enableFDRSInterrupt = true;
667667 }
668668 return crcReturned ;
669669}
You can’t perform that action at this time.
0 commit comments