re-added ARMING messages in HIL mode
this is useful as in HIL mode you don't always have blinking lights git-svn-id: https://arducopter.googlecode.com/svn/trunk@3003 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
07b8d0dfe5
commit
4dc9de81a3
@ -25,6 +25,9 @@ static void arm_motors()
|
||||
arming_counter = 0;
|
||||
|
||||
}else if (arming_counter == ARM_DELAY){
|
||||
#if HIL_MODE != HIL_MODE_DISABLED
|
||||
gcs.send_text_P(SEVERITY_HIGH, "ARMING MOTORS");
|
||||
#endif
|
||||
motor_armed = true;
|
||||
arming_counter = ARM_DELAY;
|
||||
|
||||
@ -66,6 +69,9 @@ static void arm_motors()
|
||||
arming_counter = 0;
|
||||
|
||||
}else if (arming_counter == DISARM_DELAY){
|
||||
#if HIL_MODE != HIL_MODE_DISABLED
|
||||
gcs.send_text_P(SEVERITY_HIGH, "DISARMING MOTORS");
|
||||
#endif
|
||||
motor_armed = false;
|
||||
arming_counter = DISARM_DELAY;
|
||||
compass.save_offsets();
|
||||
|
Loading…
Reference in New Issue
Block a user