Copter: changes set_home_position() to setup_home_position() for Inav

This commit is contained in:
Andrew Tridgell 2014-01-03 22:41:23 +11:00
parent 99097d80a1
commit 686d1b9124

View File

@ -124,8 +124,7 @@ static void init_home()
// no need to save this to EPROM
set_cmd_with_index(home, 0);
// set inertial nav's home position
inertial_nav.set_home_position(g_gps->longitude, g_gps->latitude);
inertial_nav.setup_home_position();
if (g.log_bitmask & MASK_LOG_CMD)
Log_Write_Cmd(0, &home);