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