From 1851dd541b057923245c26040289e1982b9a1cfd Mon Sep 17 00:00:00 2001 From: Jason Short Date: Fri, 10 Feb 2012 22:25:24 -0800 Subject: [PATCH] Made Yaw Hold universal for Acro --- ArduCopter/system.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/system.pde b/ArduCopter/system.pde index 0406f93fd8..6e2a9e86bf 100644 --- a/ArduCopter/system.pde +++ b/ArduCopter/system.pde @@ -206,7 +206,7 @@ static void init_ardupilot() // identify ourselves correctly with the ground station mavlink_system.sysid = g.sysid_this_mav; mavlink_system.type = 2; //MAV_QUADROTOR; - + #if LOGGING_ENABLED == ENABLED DataFlash.Init(); if (!DataFlash.CardInserted()) { @@ -448,7 +448,7 @@ static void set_mode(byte mode) switch(control_mode) { case ACRO: - yaw_mode = YAW_ACRO; + yaw_mode = YAW_HOLD; roll_pitch_mode = ROLL_PITCH_ACRO; throttle_mode = THROTTLE_MANUAL; break;