Skip to content
Snippets Groups Projects
Commit 414a2581 authored by Jason Short's avatar Jason Short
Browse files

Made RTL always the current Altitude

parent c970ba4f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
*/
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment