From b062e8e6f8c6f5d9039c9c2e972bc01f8e9424d9 Mon Sep 17 00:00:00 2001 From: "tridge60@gmail.com" Date: Tue, 2 Aug 2011 13:34:27 +0000 Subject: [PATCH] fixed PSTR() on motor arm messages git-svn-id: https://arducopter.googlecode.com/svn/trunk@3004 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/motors.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopterMega/motors.pde b/ArduCopterMega/motors.pde index ecde9f4c02..f371c7e472 100644 --- a/ArduCopterMega/motors.pde +++ b/ArduCopterMega/motors.pde @@ -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;