commented out home.alt since it's always 0

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3092 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-08-13 22:49:20 +00:00
parent 900d0c1819
commit 56d8da0381

View File

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