Skip to content

Commit 93e4885

Browse files
committed
Fix #677: tighten up busy check condition
1 parent a16ec64 commit 93e4885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lmic/lmic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2875,7 +2875,7 @@ dr_t LMIC_feasibleDataRateForFrame(dr_t dr, u1_t payloadSize) {
28752875
}
28762876

28772877
static bit_t isTxPathBusy(void) {
2878-
return (LMIC.opmode & (OP_TXDATA|OP_JOINING)) != 0;
2878+
return (LMIC.opmode & (OP_POLL | OP_TXDATA | OP_JOINING | OP_TXRXPEND)) != 0;
28792879
}
28802880

28812881
bit_t LMIC_queryTxReady (void) {

0 commit comments

Comments
 (0)