mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 14:58:54 +08:00
px4fmu-v4pro:Comment GPIO_BTN_SAFETY_FMU is inited and not used
This commit is contained in:
committed by
Lorenz Meier
parent
4330d6dad5
commit
08e04e3c5c
@@ -292,6 +292,9 @@
|
||||
#define PWMIN_TIMER_CHANNEL 2
|
||||
#define GPIO_PWM_IN GPIO_TIM4_CH2IN_2
|
||||
|
||||
/* N.B. By the virtue of not being named GPIO_BTN_SAFETY, this pin is
|
||||
* initialized but not used (compiled for) in the FMU module
|
||||
*/
|
||||
#define GPIO_BTN_SAFETY_FMU (GPIO_INPUT|GPIO_FLOAT|GPIO_PORTC|GPIO_PIN4)
|
||||
#define GPIO_SBUS_INV (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_2MHz|GPIO_OUTPUT_SET|GPIO_PORTC|GPIO_PIN13)
|
||||
#define BOARD_INVERT_RC_INPUT(_invert_true, _na) px4_arch_gpiowrite(GPIO_SBUS_INV, _invert_true)
|
||||
|
||||
Reference in New Issue
Block a user