Browse Source

AP_Notify: fixed PixracerLED on NuttX

led_dim must be a positive number, and is not related to the led off
value
master
Andrew Tridgell 6 years ago committed by Randy Mackay
parent
commit
6489166996
  1. 2
      libraries/AP_Notify/PixRacerLED.cpp

2
libraries/AP_Notify/PixRacerLED.cpp

@ -30,7 +30,7 @@ @@ -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)
{
}

Loading…
Cancel
Save