From 5d15d867b5eafde668618764d1f49beb246398af Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 9 Feb 2020 21:34:12 +1100 Subject: [PATCH] AP_HAL: adjust LED API to allow more than 32 LEDs on a pin --- libraries/AP_HAL/RCOutput.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_HAL/RCOutput.h b/libraries/AP_HAL/RCOutput.h index 3289eec22f..c7917a3a64 100644 --- a/libraries/AP_HAL/RCOutput.h +++ b/libraries/AP_HAL/RCOutput.h @@ -206,10 +206,10 @@ public: /* setup neopixel (WS2812B) output data for a given output channel - and mask of which LEDs in the chain + and led number. A led number of -1 means all LEDs. LED 0 is the first LED */ - virtual void set_neopixel_rgb_data(const uint16_t chan, uint32_t ledmask, uint8_t red, uint8_t green, uint8_t blue) {} - + virtual void set_neopixel_rgb_data(const uint16_t chan, int8_t led, uint8_t red, uint8_t green, uint8_t blue) {} + /* trigger send of neopixel data */