Skip to content

Commit

Permalink
Merge pull request #899 from xNombre/master
Browse files Browse the repository at this point in the history
LoRaWAN: Fix broken node when memory is dynamically allocated
  • Loading branch information
jgromes authored Dec 8, 2023
2 parents 77562c9 + 79fbe9b commit b30b7c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/protocols/LoRaWAN/LoRaWAN.h
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ class LoRaWANNode {
public:

// Offset between TX and RX1 (such that RX1 has equal or lower DR)
uint8_t rx1DrOffset;
uint8_t rx1DrOffset = 0;

// RX2 channel properties - may be changed by MAC command
LoRaWANChannel_t rx2;
Expand Down Expand Up @@ -616,7 +616,7 @@ class LoRaWANNode {
uint32_t adrFcnt = 0;

// whether the current configured channel is in FSK mode
bool FSK;
bool FSK = false;

// flag that shows whether the device is joined and there is an ongoing session
bool isJoinedFlag = false;
Expand Down

0 comments on commit b30b7c6

Please sign in to comment.