mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 17:58:52 +08:00
aerocore2:Use board_common default nop INVERT_RC_INPUT
This commit is contained in:
committed by
Lorenz Meier
parent
c57928343c
commit
b08a0d50f8
@@ -186,8 +186,7 @@
|
||||
/* spektrum satellite receiver input */
|
||||
#define GPIO_SPEKTRUM_PWR_EN (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_2MHz|GPIO_OUTPUT_SET|GPIO_PORTE|GPIO_PIN15)
|
||||
#define SPEKTRUM_POWER(_on_true) px4_arch_gpiowrite(GPIO_SPEKTRUM_PWR_EN, (_on_true))
|
||||
#define RC_SERIAL_PORT "/dev/ttyS4"
|
||||
#define INVERT_RC_INPUT(_s) while(0)
|
||||
#define RC_SERIAL_PORT "/dev/ttyS4" /* No HW invert support */
|
||||
#define GPIO_PPM_IN 0
|
||||
#define GPIO_RC_OUT 0
|
||||
#define SPEKTRUM_RX_AS_GPIO_OUTPUT() px4_arch_configgpio(GPIO_RC_OUT)
|
||||
|
||||
Reference in New Issue
Block a user