From 2389bf58a945c59afdbc103d63d0d1e7d95ce22e Mon Sep 17 00:00:00 2001 From: "mich146@hotmail.com" Date: Thu, 10 Mar 2011 01:06:27 +0000 Subject: [PATCH] ACM fix old mavlink reference. (use new GCS_mavlink library) git-svn-id: https://arducopter.googlecode.com/svn/trunk@1764 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/commands_logic.pde | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ArduCopterMega/commands_logic.pde b/ArduCopterMega/commands_logic.pde index 0980314482..650a7578ae 100644 --- a/ArduCopterMega/commands_logic.pde +++ b/ArduCopterMega/commands_logic.pde @@ -43,7 +43,7 @@ handle_process_may() do_change_alt(); break; - case MAV_CMD_CONDITION_ANGLE: + case MAV_CMD_CONDITION_YAW: do_yaw(); break; @@ -125,7 +125,7 @@ bool verify_may() { switch(command_may_ID) { - case MAV_CMD_CONDITION_ANGLE: + case MAV_CMD_CONDITION_YAW: return verify_yaw(); break; @@ -388,4 +388,4 @@ void do_set_relay() }else{ relay_toggle(); } -} +}