Copter: minor format fix to rtl

This commit is contained in:
Leonard Hall 2021-05-13 10:30:44 +09:00 committed by Randy Mackay
parent 7c7d58d2a0
commit d0b9f6ced6
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ void ModeRTL::loiterathome_start()
_loiter_start_time = millis();
// yaw back to initial take-off heading yaw unless pilot has already overridden yaw
if(auto_yaw.default_mode(true) != AUTO_YAW_HOLD) {
if (auto_yaw.default_mode(true) != AUTO_YAW_HOLD) {
auto_yaw.set_mode(AUTO_YAW_RESETTOARMEDYAW);
} else {
auto_yaw.set_mode(AUTO_YAW_HOLD);