Altitude no longer resets when moving loiter WP

This commit is contained in:
Jason Short 2012-01-16 14:28:23 -08:00
parent 85f10589b2
commit 6e94b21d67

View File

@ -1689,7 +1689,8 @@ static void update_navigation()
wp_control = NO_NAV_MODE;
// reset LOITER to current position
next_WP = current_loc;
next_WP.lat = current_loc.lat;
next_WP.lng = current_loc.lng;
}else{
// this is also set by GPS in update_nav