mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
lights:Remove conditional rgb led starting (do all of them)
There is no need to not to start a pwm based led or a rgbled_ncp5623c if the old TCA62724FMG is started. They will all work in parallel.
This commit is contained in:
committed by
Daniel Agar
parent
91e548000f
commit
eb58dae51b
@@ -194,20 +194,13 @@ else
|
||||
#
|
||||
# Start system state indicator.
|
||||
#
|
||||
if ! rgbled start
|
||||
rgbled start
|
||||
rgbled_ncp5623c start
|
||||
rgbled_pwm start
|
||||
|
||||
if blinkm start
|
||||
then
|
||||
|
||||
rgbled_ncp5623c start
|
||||
|
||||
#
|
||||
# FMUv5 may have both PWM I2C RGB LED support.
|
||||
#
|
||||
rgbled_pwm start
|
||||
|
||||
if blinkm start
|
||||
then
|
||||
blinkm systemstate
|
||||
fi
|
||||
blinkm systemstate
|
||||
fi
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user