Fix FMU output on non-Pixracer boards

This commit is contained in:
Lorenz Meier 2016-02-28 12:11:47 +01:00
parent ef07fdf9c7
commit ba79b32b30

View File

@ -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;
}