Browse Source

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

mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
686d1b9124
  1. 3
      ArduCopter/commands.pde

3
ArduCopter/commands.pde

@ -124,8 +124,7 @@ static void init_home() @@ -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…
Cancel
Save