diff --git a/ArduPlane/px4_mixer.cpp b/ArduPlane/px4_mixer.cpp index 595a188069..c9c06da0d9 100644 --- a/ArduPlane/px4_mixer.cpp +++ b/ArduPlane/px4_mixer.cpp @@ -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; } }