Browse Source

Copter: Correction of spelling errors (NFC)

zr-v5.1
murata 5 years ago committed by Peter Barker
parent
commit
520782d7f2
  1. 2
      ArduCopter/mode_auto.cpp

2
ArduCopter/mode_auto.cpp

@ -771,7 +771,7 @@ void ModeAuto::spline_run()
// process pilot's yaw input // process pilot's yaw input
float target_yaw_rate = 0; float target_yaw_rate = 0;
if (!copter.failsafe.radio) { if (!copter.failsafe.radio) {
// get pilot's desired yaw rat // get pilot's desired yaw rate
target_yaw_rate = get_pilot_desired_yaw_rate(channel_yaw->get_control_in()); target_yaw_rate = get_pilot_desired_yaw_rate(channel_yaw->get_control_in());
if (!is_zero(target_yaw_rate)) { if (!is_zero(target_yaw_rate)) {
auto_yaw.set_mode(AUTO_YAW_HOLD); auto_yaw.set_mode(AUTO_YAW_HOLD);

Loading…
Cancel
Save