mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 09:11:37 +08:00
rc_input: singlewire use push_pull
This commit is contained in:
committed by
Peter van der Perk
parent
ca112fea8a
commit
c00ed78dda
@@ -314,7 +314,7 @@ void RCInput::swap_rx_tx()
|
|||||||
# ifdef TIOCSSINGLEWIRE
|
# ifdef TIOCSSINGLEWIRE
|
||||||
|
|
||||||
if (rv != OK) {
|
if (rv != OK) {
|
||||||
ioctl(_rcs_fd, TIOCSSINGLEWIRE, SER_SINGLEWIRE_ENABLED);
|
ioctl(_rcs_fd, TIOCSSINGLEWIRE, SER_SINGLEWIRE_ENABLED | SER_SINGLEWIRE_PUSHPULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
# else
|
# else
|
||||||
|
|||||||
Reference in New Issue
Block a user