FMU driver: Report class instance registration fail

This commit is contained in:
Lorenz Meier 2015-02-15 21:39:50 +01:00
parent 3f3bcfb31f
commit 3ff49778a8
1 changed files with 2 additions and 0 deletions

View File

@ -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 */