diff --git a/ArduCopter/commands.pde b/ArduCopter/commands.pde index 466dd47b45..2cdea618e3 100644 --- a/ArduCopter/commands.pde +++ b/ArduCopter/commands.pde @@ -109,6 +109,8 @@ static int32_t get_RTL_alt() { if(g.RTL_altitude <= 0){ return current_loc.alt; + }else if (g.RTL_altitude < current_loc.alt){ + return current_loc.alt; }else{ return g.RTL_altitude; }