mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 06:03:34 +08:00
rgbled: make sure to load the params on startup
This commit is contained in:
@@ -169,6 +169,8 @@ RGBLED::init()
|
||||
send_led_enable(false);
|
||||
send_led_rgb();
|
||||
|
||||
update_params();
|
||||
|
||||
_running = true;
|
||||
// kick off work queue
|
||||
work_queue(LPWORK, &_work, (worker_t)&RGBLED::led_trampoline, this, 0);
|
||||
|
||||
Reference in New Issue
Block a user