mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
Revert "OP-1532 fix non-ppm mode"
This reverts commit 9fd4fb26b9dde4d9e29c4be19bcee98de695af04.
This commit is contained in:
parent
a9f35e2afe
commit
b69e222456
@ -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);
|
||||
}
|
||||
|
||||
// Always send a packet if this modem is a coordinator.
|
||||
if ((len == 0) && !rfm22_isCoordinator(radio_dev)) {
|
||||
// Always send a packet on the sync channel if this modem is a coordinator.
|
||||
if ((len == 0) && ((radio_dev->channel_index != 0) || !rfm22_isCoordinator(radio_dev))) {
|
||||
return RADIO_EVENT_RX_MODE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user