mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
Merge remote-tracking branch 'origin/next' into thread/OP-1525_Acro_GUI
This commit is contained in:
commit
9fb474d930
@ -1803,8 +1803,8 @@ static enum pios_radio_event radio_txStart(struct pios_rfm22b_dev *radio_dev)
|
|||||||
len += (radio_dev->tx_out_cb)(radio_dev->tx_out_context, p + len, max_data_len - len, NULL, &need_yield);
|
len += (radio_dev->tx_out_cb)(radio_dev->tx_out_context, p + len, max_data_len - len, NULL, &need_yield);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Always send a packet on the sync channel if this modem is a coordinator.
|
// Always send a packet if this modem is a coordinator.
|
||||||
if ((len == 0) && ((radio_dev->channel_index != 0) || !rfm22_isCoordinator(radio_dev))) {
|
if ((len == 0) && !rfm22_isCoordinator(radio_dev)) {
|
||||||
return RADIO_EVENT_RX_MODE;
|
return RADIO_EVENT_RX_MODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user