hack to fix Motor lights when arming after init.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3100 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-08-14 18:54:29 +00:00
parent 6b2139221d
commit 75114aa93f
1 changed files with 6 additions and 2 deletions

View File

@ -25,9 +25,9 @@ static void arm_motors()
arming_counter = 0;
}else if (arming_counter == ARM_DELAY){
#if HIL_MODE != HIL_MODE_DISABLED
#if HIL_MODE != HIL_MODE_DISABLED
hil.send_text_P(SEVERITY_HIGH, PSTR("ARMING MOTORS"));
#endif
#endif
motor_armed = true;
arming_counter = ARM_DELAY;
@ -49,6 +49,10 @@ static void arm_motors()
startup_ground();
}
// temp hack
motor_light = true;
digitalWrite(A_LED_PIN, HIGH);
// tune down compass
// -----------------
dcm.kp_yaw(0.08);