mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 07:43:34 +08:00
fmu:Remove gpio config on GPIO_SBUS_INV it is done in board_init
This commit is contained in:
committed by
Lorenz Meier
parent
8cc358dff8
commit
c291566c3e
@@ -434,11 +434,6 @@ PX4FMU::PX4FMU(bool run_as_task) :
|
||||
|
||||
raw_rc_count = 0;
|
||||
|
||||
#ifdef GPIO_SBUS_INV
|
||||
// this board has a GPIO to control SBUS inversion
|
||||
px4_arch_configgpio(GPIO_SBUS_INV);
|
||||
#endif
|
||||
|
||||
// If there is no safety button, disable it on boot.
|
||||
#ifndef GPIO_BTN_SAFETY
|
||||
_safety_off = true;
|
||||
|
||||
Reference in New Issue
Block a user