From 19d8c405fd13a2c67c5b821ee2bcb9507392af8e Mon Sep 17 00:00:00 2001 From: Jason Short Date: Tue, 10 Jul 2012 10:58:26 -0700 Subject: [PATCH] Arducopter : Force home alt to 0 --- ArduCopter/commands_logic.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/commands_logic.pde b/ArduCopter/commands_logic.pde index 3ab16ef5c5..45f9235bba 100644 --- a/ArduCopter/commands_logic.pde +++ b/ArduCopter/commands_logic.pde @@ -759,7 +759,7 @@ static void do_set_home() home.id = MAV_CMD_NAV_WAYPOINT; home.lng = command_cond_queue.lng; // Lon * 10**7 home.lat = command_cond_queue.lat; // Lat * 10**7 - home.alt = max(command_cond_queue.alt, 0); + home.alt = 0; home_is_set = true; } }