Made Yaw Hold universal for Acro

This commit is contained in:
Jason Short 2012-02-10 22:25:24 -08:00
parent 32e7b075d9
commit 1851dd541b
1 changed files with 2 additions and 2 deletions

View File

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