From a99bcec7620dbc8880f66ad25a1c8ff681dce713 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 26 Nov 2011 14:43:02 +1100 Subject: [PATCH] desktop: report motors armed in desktop build too this helps in autotest --- ArduCopter/motors.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/motors.pde b/ArduCopter/motors.pde index e1947351fb..01f3a263a6 100644 --- a/ArduCopter/motors.pde +++ b/ArduCopter/motors.pde @@ -66,7 +66,7 @@ static void arm_motors() static void init_arm_motors() { //Serial.printf("\nARM\n"); - #if HIL_MODE != HIL_MODE_DISABLED + #if HIL_MODE != HIL_MODE_DISABLED || defined(DESKTOP_BUILD) gcs_send_text_P(SEVERITY_HIGH, PSTR("ARMING MOTORS")); #endif @@ -107,7 +107,7 @@ static void init_arm_motors() static void init_disarm_motors() { //Serial.printf("\nDISARM\n"); - #if HIL_MODE != HIL_MODE_DISABLED + #if HIL_MODE != HIL_MODE_DISABLED || defined(DESKTOP_BUILD) gcs_send_text_P(SEVERITY_HIGH, PSTR("DISARMING MOTORS")); #endif