AP_Notify: fixed PixracerLED on NuttX

led_dim must be a positive number, and is not related to the led off
value
This commit is contained in:
Andrew Tridgell 2018-10-07 16:46:12 +11:00 committed by Randy Mackay
parent ed71790945
commit 6489166996
1 changed files with 1 additions and 1 deletions

View File

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