From 9279b8ab6d1761ba49ac8a257a99742046b384b4 Mon Sep 17 00:00:00 2001 From: jgromes Date: Fri, 15 Sep 2023 18:36:08 +0200 Subject: [PATCH] [LoRaWAN] Workaround unused variable warning for unimplemented fields --- src/protocols/LoRaWAN/LoRaWAN.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/protocols/LoRaWAN/LoRaWAN.cpp b/src/protocols/LoRaWAN/LoRaWAN.cpp index 0275b3c1..d2a1860f 100644 --- a/src/protocols/LoRaWAN/LoRaWAN.cpp +++ b/src/protocols/LoRaWAN/LoRaWAN.cpp @@ -1226,8 +1226,11 @@ size_t LoRaWANNode::execMacCommand(LoRaWANMacCommand_t* cmd) { } // TODO implement repeated uplinks with nbTrans + (void)nbTrans; // TODO implement channel mask uint8_t chMaskAck = 0; + (void)chMask; + (void)chMaskCntl; // send the reply cmd->len = 1; @@ -1264,9 +1267,11 @@ size_t LoRaWANNode::execMacCommand(LoRaWANMacCommand_t* cmd) { } // TODO process the RX2 data rate + (void)rx2DataRate; uint8_t rx2Ack = 0; // TODO process the data rate offset + (void)rx1DrOffset; uint8_t rx1OffsAck = 0; // send the reply