Skip to content

Commit

Permalink
[SX127x] Add missing state initialization (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes committed Nov 18, 2024
1 parent c7d6ad3 commit c467b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/SX127x/SX127x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ int16_t SX127x::setIrqFlags(uint32_t irq) {
uint8_t usedPinFlags = 0;
bool conflict = false;
int16_t modem = getActiveModem();
int16_t state;
int16_t state = RADIOLIB_ERR_NONE;
for(uint8_t i = 0; i <= 31; i++) {
// check if the bit is set
uint32_t irqBit = irq & (1UL << i);
Expand Down

0 comments on commit c467b00

Please sign in to comment.