Copter: Correction of spelling errors (NFC)

This commit is contained in:
murata 2020-05-18 11:44:56 +09:00 committed by Peter Barker
parent 8b21f5117a
commit 520782d7f2
1 changed files with 1 additions and 1 deletions

View File

@ -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);