mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 13:17:35 +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