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

removed typo

parent e1e62689
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ static struct Location get_cmd_with_index(int i)
//temp.alt += home.alt;
//}
if(temp.options & MASK_OPTIONS_RELATIVE_ALT){
if(temp.options & WP_OPTION_RELATIVE){
// If were relative, just offset from home
temp.lat += home.lat;
temp.lng += home.lng;
......@@ -67,6 +67,7 @@ static struct Location get_cmd_with_index(int i)
// -------
static void set_cmd_with_index(struct Location temp, int i)
{
i = constrain(i, 0, g.command_total.get());
//Serial.printf("set_command: %d with id: %d\n", i, temp.id);
......
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