From aa54458dcf7e057f2d5abfc203543fdf20162cbb Mon Sep 17 00:00:00 2001 From: rmackay9 Date: Wed, 4 Apr 2012 22:57:50 +0900 Subject: [PATCH] ArduCopter - leds.pde - changed refrences to "motor_armed" to "motors.armed()" --- ArduCopter/leds.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/leds.pde b/ArduCopter/leds.pde index 97b05f746e..263c954ee8 100644 --- a/ArduCopter/leds.pde +++ b/ArduCopter/leds.pde @@ -46,7 +46,7 @@ static void update_GPS_light(void) static void update_motor_light(void) { - if(motor_armed == false){ + if(motors.armed() == false){ motor_light = !motor_light; // blink @@ -100,7 +100,7 @@ static void clear_leds() #if MOTOR_LEDS == 1 static void update_motor_leds(void) { - if (motor_armed == true){ + if (motors.armed()){ if (low_batt == true){ // blink rear static bool blink = false;