|
|
|
@ -405,7 +405,8 @@ PX4FMU::init()
@@ -405,7 +405,8 @@ PX4FMU::init()
|
|
|
|
|
return ret; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (_mode != MODE_NONE) { |
|
|
|
|
// XXX best would be to register / de-register the device depending on modes
|
|
|
|
|
|
|
|
|
|
/* try to claim the generic PWM output device node as well - it's OK if we fail at this */ |
|
|
|
|
_class_instance = register_class_devname(PWM_OUTPUT_BASE_DEVICE_PATH); |
|
|
|
|
|
|
|
|
@ -414,7 +415,6 @@ PX4FMU::init()
@@ -414,7 +415,6 @@ PX4FMU::init()
|
|
|
|
|
} else if (_class_instance < 0) { |
|
|
|
|
warnx("FAILED registering class device"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
_safety_disabled = circuit_breaker_enabled("CBRK_IO_SAFETY", CBRK_IO_SAFETY_KEY); |
|
|
|
|
|
|
|
|
|