mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
AP_SerialLED: enable 32 servo outs
This commit is contained in:
parent
031115577a
commit
c4df741af9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user