From 90cac02bd7475be122d62d19d0218badf67b7ed2 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Thu, 26 Feb 2015 17:41:06 +0900 Subject: [PATCH] Notify: OreoLED fix to fade-in when armed --- libraries/AP_Notify/OreoLED_PX4.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_Notify/OreoLED_PX4.cpp b/libraries/AP_Notify/OreoLED_PX4.cpp index 5adf6b6e05..87115b059a 100644 --- a/libraries/AP_Notify/OreoLED_PX4.cpp +++ b/libraries/AP_Notify/OreoLED_PX4.cpp @@ -215,8 +215,8 @@ void OreoLED_PX4::update() } else if (last_stage >= 10) { // check arming status if (AP_Notify::flags.armed) { - // reset macro will return LEDs to solid - set_macro(OREOLED_INSTANCE_ALL, OREOLED_PARAM_MACRO_RESET); + // set macro to fade-in + set_macro(OREOLED_INSTANCE_ALL, OREOLED_PARAM_MACRO_FADEIN); } else { // start breathing macro set_macro(OREOLED_INSTANCE_ALL, OREOLED_PARAM_MACRO_BREATH);