AP_SerialLED: enable 32 servo outs

This commit is contained in:
Iampete1 2021-01-12 02:02:29 +00:00 committed by Andrew Tridgell
parent 031115577a
commit c4df741af9
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ bool AP_SerialLED::set_num_profiled(uint8_t chan, uint8_t num_leds)
{
if (chan >= 1 && chan <= 16 && num_leds <= AP_SERIALLED_MAX_LEDS - 2) {
// must have a clock
uint16_t Clock_mask = 0;
uint32_t Clock_mask = 0;
if (!SRV_Channels::function_assigned((SRV_Channel::Aux_servo_function_t)((uint8_t)SRV_Channel::k_ProfiLED_Clock))) {
return false;
}