mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-09 03:02:36 +08:00
FMU driver: Report class instance registration fail
This commit is contained in:
@@ -332,6 +332,8 @@ PX4FMU::init()
|
||||
|
||||
if (_class_instance == CLASS_DEVICE_PRIMARY) {
|
||||
log("default PWM output device");
|
||||
} else if (_class_instance < 0) {
|
||||
log("FAILED registering class device");
|
||||
}
|
||||
|
||||
/* reset GPIOs */
|
||||
|
||||
Reference in New Issue
Block a user