Browse Source

commented out home.alt since it's always 0

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3092 f9c3cf11-9bcb-44bc-f272-b75c42450872
mission-4.1.18
jasonshort 14 years ago
parent
commit
56d8da0381
  1. 3
      ArduCopterMega/commands.pde

3
ArduCopterMega/commands.pde

@ -136,7 +136,7 @@ static long read_alt_to_hold() @@ -136,7 +136,7 @@ static long read_alt_to_hold()
if(g.RTL_altitude < 0)
return current_loc.alt;
else
return g.RTL_altitude + home.alt;
return g.RTL_altitude;// + home.alt;
}
@ -227,6 +227,7 @@ static void init_home() @@ -227,6 +227,7 @@ static void init_home()
// Save Home to EEPROM
// -------------------
// no need to save this to EPROM
set_command_with_index(home, 0);
print_wp(&home, 0);

Loading…
Cancel
Save