mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
rc_input: singlewire use push_pull
This commit is contained in:
parent
ca112fea8a
commit
c00ed78dda
@ -314,7 +314,7 @@ void RCInput::swap_rx_tx()
|
||||
# ifdef TIOCSSINGLEWIRE
|
||||
|
||||
if (rv != OK) {
|
||||
ioctl(_rcs_fd, TIOCSSINGLEWIRE, SER_SINGLEWIRE_ENABLED);
|
||||
ioctl(_rcs_fd, TIOCSSINGLEWIRE, SER_SINGLEWIRE_ENABLED | SER_SINGLEWIRE_PUSHPULL);
|
||||
}
|
||||
|
||||
# else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user