AP_Periph: fixed LED setup call

This commit is contained in:
Andrew Tridgell 2022-01-25 20:57:39 +11:00
parent 38dce1e1c9
commit c2dd7f4c9e
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ void AP_Periph_FW::init()
#endif
#ifdef HAL_PERIPH_NEOPIXEL_CHAN_WITHOUT_NOTIFY
hal.rcout->set_serial_led_num_LEDs(HAL_PERIPH_NEOPIXEL_CHAN_WITHOUT_NOTIFY, AP_HAL::RCOutput::MODE_NEOPIXEL);
hal.rcout->set_serial_led_num_LEDs(HAL_PERIPH_NEOPIXEL_CHAN_WITHOUT_NOTIFY, HAL_PERIPH_NEOPIXEL_COUNT_WITHOUT_NOTIFY, AP_HAL::RCOutput::MODE_NEOPIXEL);
#endif
#ifdef HAL_PERIPH_ENABLE_RC_OUT