mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: return success status from serial_led_send and set_serial_led_rgb_data
This commit is contained in:
parent
73610c8932
commit
d30e52ed3f
|
@ -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) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue