mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
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:
parent
0d21177aa7
commit
66af7cd216
@ -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()
|
||||
|
||||
// Save Home to EEPROM
|
||||
// -------------------
|
||||
// no need to save this to EPROM
|
||||
set_command_with_index(home, 0);
|
||||
print_wp(&home, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user