mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Copter: minor format fix to rtl
This commit is contained in:
parent
7c7d58d2a0
commit
d0b9f6ced6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user