mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
Copter: changes set_home_position() to setup_home_position() for Inav
This commit is contained in:
parent
99097d80a1
commit
686d1b9124
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user