Plane: catch a px4_mixer failure case

This commit is contained in:
Andrew Tridgell 2015-05-30 11:17:04 +10:00
parent 8adc60751c
commit 1520d8f734
1 changed files with 1 additions and 0 deletions

View File

@ -290,6 +290,7 @@ bool Plane::setup_failsafe_mixing(void)
}
if (ioctl(px4io_fd, PWM_SERVO_SET_RC_CONFIG, (unsigned long)&config) != 0) {
hal.console->printf("SET_RC_CONFIG failed\n");
goto failed;
}
}