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 Andrew Tridgell
parent 73610c8932
commit d30e52ed3f
1 changed files with 2 additions and 2 deletions

View File

@ -352,12 +352,12 @@ public:
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
*/
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
*/
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) {}