bool AP_Arming_Sub::rc_calibration_checks(bool display_failure) { const RC_Channel *channels[] = { sub.channel_roll, sub.channel_pitch, sub.channel_throttle, sub.channel_yaw }; return rc_checks_copter_sub(display_failure, channels, false /* check_min_max */); }
bool AP_Arming_Copter::rc_calibration_checks(bool display_failure) { const RC_Channel *channels[] = { copter.channel_roll, copter.channel_pitch, copter.channel_throttle, copter.channel_yaw }; copter.ap.pre_arm_rc_check = rc_checks_copter_sub(display_failure, channels) & AP_Arming::rc_calibration_checks(display_failure); return copter.ap.pre_arm_rc_check; }