AP_HAL: return success status from serial_led_send and set_serial_led_rgb_data

This commit is contained in:
Andy Piper 2023-11-17 17:33:04 +00:00 committed by Peter Barker
parent 9ed25a81fb
commit bf104d7bee
1 changed files with 3 additions and 3 deletions

View File

@ -336,12 +336,12 @@ public:
setup serial led output data for a given output channel setup serial led output data for a given output channel
and led number. A led number of -1 means all LEDs. LED 0 is the first LED and led number. A led number of -1 means all LEDs. LED 0 is the first LED
*/ */
virtual void set_serial_led_rgb_data(const uint16_t chan, int8_t led, uint8_t red, uint8_t green, uint8_t blue) {} virtual bool set_serial_led_rgb_data(const uint16_t chan, int8_t led, uint8_t red, uint8_t green, uint8_t blue) { return false; }
/* /*
trigger send of serial led trigger send of serial led
*/ */
virtual void serial_led_send(const uint16_t chan) {} virtual bool serial_led_send(const uint16_t chan) { return false; }
virtual void timer_info(ExpandingString &str) {} virtual void timer_info(ExpandingString &str) {}