fmu:Remove gpio config on GPIO_SBUS_INV it is done in board_init

This commit is contained in:
David Sidrane
2018-07-17 08:53:29 +02:00
committed by Lorenz Meier
parent 8cc358dff8
commit c291566c3e
-5
View File
@@ -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;