From 805654f76bd02a7aabc999be7b0cf2e09a13b94a Mon Sep 17 00:00:00 2001 From: StevenCellist Date: Thu, 6 Feb 2025 00:30:40 +0100 Subject: [PATCH] [LoRaWAN] Remove unused variable --- src/protocols/LoRaWAN/LoRaWAN.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/protocols/LoRaWAN/LoRaWAN.cpp b/src/protocols/LoRaWAN/LoRaWAN.cpp index ba53d397..6c7f5a31 100644 --- a/src/protocols/LoRaWAN/LoRaWAN.cpp +++ b/src/protocols/LoRaWAN/LoRaWAN.cpp @@ -67,7 +67,6 @@ int16_t LoRaWANNode::sendReceive(const uint8_t* dataUp, size_t lenUp, uint8_t fP return(RADIOLIB_ERR_NULL_POINTER); } int16_t state = RADIOLIB_ERR_UNKNOWN; - Module* mod = this->phyLayer->getMod(); // if after (at) ADR_ACK_LIMIT frames no RekeyConf was received, revert to Join state if(this->fCntUp == (1UL << this->adrLimitExp)) {