mirror of https://github.com/ArduPilot/ardupilot
Copter: Correction of spelling errors (NFC)
This commit is contained in:
parent
8b21f5117a
commit
520782d7f2
|
@ -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…
Reference in New Issue