From 0bb1821e8d5960f27a4c91fb23987278e9832af5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Oct 2018 16:46:12 +1100 Subject: [PATCH] AP_Notify: fixed PixracerLED on NuttX led_dim must be a positive number, and is not related to the led off value --- libraries/AP_Notify/PixRacerLED.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Notify/PixRacerLED.cpp b/libraries/AP_Notify/PixRacerLED.cpp index 957cc669b4..4a6be10a4d 100644 --- a/libraries/AP_Notify/PixRacerLED.cpp +++ b/libraries/AP_Notify/PixRacerLED.cpp @@ -30,7 +30,7 @@ extern const AP_HAL::HAL& hal; PixRacerLED::PixRacerLED() : - RGBLed(0, HAL_GPIO_LED_OFF, HAL_GPIO_LED_OFF, HAL_GPIO_LED_OFF) + RGBLed(0, 1, 1, 1) { }