File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ void LMICas923_init(void);
72
72
73
73
// override default for LMICbandplan_isFSK()
74
74
#undef LMICbandplan_isFSK
75
- #define LMICbandplan_isFSK () (/* TX datarate */ LMIC .rxsyms == AS923_DR_FSK)
75
+ #define LMICbandplan_isFSK () (/* RX datarate */ LMIC .dndr == AS923_DR_FSK)
76
76
77
77
// txDone handling for FSK.
78
78
void
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ LMICeu868_isValidBeacon1(const uint8_t *d) {
59
59
60
60
// override default for LMICbandplan_isFSK()
61
61
#undef LMICbandplan_isFSK
62
- #define LMICbandplan_isFSK () (/* TX datarate */ LMIC .rxsyms == EU868_DR_FSK)
62
+ #define LMICbandplan_isFSK () (/* RX datarate */ LMIC .dndr == EU868_DR_FSK)
63
63
64
64
// txDone handling for FSK.
65
65
void
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ LMICin866_isValidBeacon1(const uint8_t *d) {
56
56
57
57
// override default for LMICbandplan_isFSK()
58
58
#undef LMICbandplan_isFSK
59
- #define LMICbandplan_isFSK () (/* TX datarate */ LMIC .rxsyms == IN866_DR_FSK)
59
+ #define LMICbandplan_isFSK () (/* TX datarate */ LMIC .dndr == IN866_DR_FSK)
60
60
61
61
// txDone handling for FSK.
62
62
void
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ ostime_t LMICeu868_nextJoinState(void) {
247
247
}
248
248
#endif // !DISABLE_JOIN
249
249
250
- // txDone handling for FSK.
250
+ // Class A txDone handling for FSK.
251
251
void
252
252
LMICeu868_txDoneFSK (ostime_t delay , osjobcb_t func ) {
253
253
LMIC .rxtime = LMIC .txend + delay - PRERX_FSK * us2osticksRound (160 );
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ ostime_t LMICin866_nextJoinState(void) {
212
212
}
213
213
#endif // !DISABLE_JOIN
214
214
215
- // txDone handling for FSK.
215
+ // Class A txDone handling for FSK.
216
216
void
217
217
LMICin866_txDoneFSK (ostime_t delay , osjobcb_t func ) {
218
218
LMIC .rxtime = LMIC .txend + delay - PRERX_FSK * us2osticksRound (160 );
You can’t perform that action at this time.
0 commit comments