Copter: RTL ignores terrain during terrain failsafe

This commit is contained in:
Randy Mackay 2016-04-28 15:33:32 +09:00
parent 273b9acad8
commit 3688636736
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
bool Copter::rtl_init(bool ignore_checks)
{
if (position_ok() || ignore_checks) {
rtl_build_path(true);
rtl_build_path(!failsafe.terrain);
rtl_climb_start();
return true;
}else{