[LoRaWAN] Fix variable redefinition

lr2021
jgromes 2025-06-01 10:06:25 +02:00
rodzic f7c6071169
commit d7205cd006
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -116,7 +116,7 @@ void loop() {
uplinkPayload[2] = lowByte(value2);
// Perform an uplink
int16_t state = node.sendReceive(uplinkPayload, sizeof(uplinkPayload));
state = node.sendReceive(uplinkPayload, sizeof(uplinkPayload));
debug(state < RADIOLIB_ERR_NONE, F("Error in sendReceive"), state, false);
// Check if a downlink was received

Wyświetl plik

@ -113,7 +113,7 @@ void loop() {
uplinkPayload[2] = lowByte(value2);
// Perform an uplink
int16_t state = node.sendReceive(uplinkPayload, sizeof(uplinkPayload));
state = node.sendReceive(uplinkPayload, sizeof(uplinkPayload));
debug(state < RADIOLIB_ERR_NONE, F("Error in sendReceive"), state, false);
// Check if a downlink was received