Skip to content

Commit ccfcc75

Browse files
committed
Version is v3.0.99.4
1 parent 3209e33 commit ccfcc75

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/lmic/lmic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ extern "C"{
105105
#define ARDUINO_LMIC_VERSION_CALC(major, minor, patch, local) \
106106
(((major) << 24ul) | ((minor) << 16ul) | ((patch) << 8ul) | ((local) << 0ul))
107107

108-
#define ARDUINO_LMIC_VERSION ARDUINO_LMIC_VERSION_CALC(3, 0, 99, 3) /* v3.0.99.3 */
108+
#define ARDUINO_LMIC_VERSION ARDUINO_LMIC_VERSION_CALC(3, 0, 99, 4) /* v3.0.99.4 */
109109

110110
#define ARDUINO_LMIC_VERSION_GET_MAJOR(v) \
111111
(((v) >> 24u) & 0xFFu)

src/lmic/lmic_as923.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ LMICas923_getUplinkDwellBit(uint8_t mcmd_txparam) {
8585
static uint8_t
8686
LMICas923_getDownlinkDwellBit(uint8_t mcmd_txparam) {
8787
if (mcmd_txparam == 0xFF)
88-
return 0;
88+
return AS923_INITIAL_TxParam_DownlinkDwellTime;
8989

9090
return (mcmd_txparam & MCMD_TxParam_RxDWELL_MASK) != 0;
9191
}

src/lmic/lorabase_as923.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ enum { AS923_V102_TX_CAP = 100 }; // v1.0.2 allows 100%
9797
enum {
9898
// initial value of UplinkDwellTime before TxParamSetupReq received.
9999
AS923_INITIAL_TxParam_UplinkDwellTime = 1,
100+
// initial value of DownlinkDwellTime before TxParamSetupReq received.
101+
AS923_INITIAL_TxParam_DownlinkDwellTime = 1,
100102
AS923_UPLINK_DWELL_TIME_osticks = sec2osticks(20),
101103
};
102104

0 commit comments

Comments
 (0)