forked from Archive/PX4-Autopilot
FMU driver: Report class instance registration fail
This commit is contained in:
parent
3f3bcfb31f
commit
3ff49778a8
|
@ -332,6 +332,8 @@ PX4FMU::init()
|
||||||
|
|
||||||
if (_class_instance == CLASS_DEVICE_PRIMARY) {
|
if (_class_instance == CLASS_DEVICE_PRIMARY) {
|
||||||
log("default PWM output device");
|
log("default PWM output device");
|
||||||
|
} else if (_class_instance < 0) {
|
||||||
|
log("FAILED registering class device");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* reset GPIOs */
|
/* reset GPIOs */
|
||||||
|
|
Loading…
Reference in New Issue