diff --git a/ArduCopter/commands.pde b/ArduCopter/commands.pde index cb3767332b..1561001d25 100644 --- a/ArduCopter/commands.pde +++ b/ArduCopter/commands.pde @@ -107,10 +107,13 @@ static void set_cmd_with_index(struct Location temp, int i) static int32_t read_alt_to_hold() { + return current_loc.alt; + /* if(g.RTL_altitude <= 0) return current_loc.alt; else return g.RTL_altitude;// + home.alt; + */ }