mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
fixed PSTR() on motor arm messages
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3004 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
4dc9de81a3
commit
b062e8e6f8
@ -26,7 +26,7 @@ static void arm_motors()
|
||||
|
||||
}else if (arming_counter == ARM_DELAY){
|
||||
#if HIL_MODE != HIL_MODE_DISABLED
|
||||
gcs.send_text_P(SEVERITY_HIGH, "ARMING MOTORS");
|
||||
hil.send_text_P(SEVERITY_HIGH, PSTR("ARMING MOTORS"));
|
||||
#endif
|
||||
motor_armed = true;
|
||||
arming_counter = ARM_DELAY;
|
||||
@ -70,7 +70,7 @@ static void arm_motors()
|
||||
|
||||
}else if (arming_counter == DISARM_DELAY){
|
||||
#if HIL_MODE != HIL_MODE_DISABLED
|
||||
gcs.send_text_P(SEVERITY_HIGH, "DISARMING MOTORS");
|
||||
hil.send_text_P(SEVERITY_HIGH, PSTR("DISARMING MOTORS"));
|
||||
#endif
|
||||
motor_armed = false;
|
||||
arming_counter = DISARM_DELAY;
|
||||
|
Loading…
Reference in New Issue
Block a user