mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 09:23:33 +08:00
lib/led: add BREATHE mode (but not implemented yet)
This commit is contained in:
@@ -179,6 +179,7 @@ void LedController::get_control_data(LedControlData &control_data)
|
||||
|
||||
switch (cur_data.mode) {
|
||||
case led_control_s::MODE_ON:
|
||||
case led_control_s::MODE_BREATHE: // TODO: handle this properly
|
||||
control_data.leds[i].color = cur_data.color;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user