mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 15:14:07 +08:00
Board: Fix fmu rc_input on v5x and v6x (#23175)
Co-authored-by: Niklas Hauser <niklas@auterion.com>
This commit is contained in:
parent
0e65679c9e
commit
35239c48a2
@ -287,9 +287,12 @@
|
||||
#define GPIO_PPM_IN /* PI5 T8C1 */ GPIO_TIM8_CH1IN_2
|
||||
|
||||
/* RC Serial port */
|
||||
|
||||
#define RC_SERIAL_PORT "/dev/ttyS5"
|
||||
/* Some RC protocols are bi-directional, therefore we need a half-duplex UART */
|
||||
#define RC_SERIAL_SINGLEWIRE
|
||||
/* The STM32 UART by default wires half-duplex mode to the TX pin, but our
|
||||
* signal in routed to the RX pin, so we need to swap the pins */
|
||||
#define RC_SERIAL_SWAP_RXTX
|
||||
|
||||
/* Input Capture Channels. */
|
||||
#define INPUT_CAP1_TIMER 5
|
||||
|
||||
@ -324,9 +324,12 @@
|
||||
#define GPIO_PPM_IN /* PI5 T8C1 */ GPIO_TIM8_CH1IN_2
|
||||
|
||||
/* RC Serial port */
|
||||
|
||||
#define RC_SERIAL_PORT "/dev/ttyS5"
|
||||
/* Some RC protocols are bi-directional, therefore we need a half-duplex UART */
|
||||
#define RC_SERIAL_SINGLEWIRE
|
||||
/* The STM32 UART by default wires half-duplex mode to the TX pin, but our
|
||||
* signal in routed to the RX pin, so we need to swap the pins */
|
||||
#define RC_SERIAL_SWAP_RXTX
|
||||
|
||||
/* Input Capture Channels. */
|
||||
#define INPUT_CAP1_TIMER 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user