kopia lustrzana https://github.com/jgromes/RadioLib
Merge pull request #899 from xNombre/master
LoRaWAN: Fix broken node when memory is dynamically allocatedpull/900/head^2
commit
b30b7c6dad
|
@ -350,7 +350,7 @@ class LoRaWANNode {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Offset between TX and RX1 (such that RX1 has equal or lower DR)
|
// 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
|
// RX2 channel properties - may be changed by MAC command
|
||||||
LoRaWANChannel_t rx2;
|
LoRaWANChannel_t rx2;
|
||||||
|
@ -616,7 +616,7 @@ class LoRaWANNode {
|
||||||
uint32_t adrFcnt = 0;
|
uint32_t adrFcnt = 0;
|
||||||
|
|
||||||
// whether the current configured channel is in FSK mode
|
// 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
|
// flag that shows whether the device is joined and there is an ongoing session
|
||||||
bool isJoinedFlag = false;
|
bool isJoinedFlag = false;
|
||||||
|
|
Ładowanie…
Reference in New Issue