mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 11:03:34 +08:00
Fix FMU output on non-Pixracer boards
This commit is contained in:
@@ -390,6 +390,11 @@ PX4FMU::PX4FMU() :
|
|||||||
stm32_configgpio(GPIO_SBUS_INV);
|
stm32_configgpio(GPIO_SBUS_INV);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// If there is no safety button, disable it on boot.
|
||||||
|
#ifndef GPIO_BTN_SAFETY
|
||||||
|
_safety_off = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* only enable this during development */
|
/* only enable this during development */
|
||||||
_debug_enabled = false;
|
_debug_enabled = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user