|
|
|
@ -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); |
|
|
|
|