mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 08:40:30 +08:00
tap_common:Add passivly starting the PWM rgbled driver
Board builds may now inclulde both the PWM and I2C RGB LED
To add the PWM RGB LED driver:The board must define
BOARD_HAS_LED_PWM and include rgbled_pwm the moulde list.
This change attempts to start the either rgbled driver, that
may or may not be present. If it is not present the +e
setting allows the start up to continue.
This commit is contained in:
1 parent
5c3f2b783f
commit
a14d256a2f
1 file changed
+4
@@ -74,6 +74,10 @@ tone_alarm start
|
||||
#
|
||||
# Start system state indicator
|
||||
#
|
||||
if rgbled_pwm start
|
||||
then
|
||||
fi
|
||||
|
||||
if rgbled start
|
||||
then
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user