Browse Source

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.
sbg
David Sidrane 6 years ago committed by Daniel Agar
parent
commit
eb58dae51b
  1. 9
      ROMFS/px4fmu_common/init.d/rcS

9
ROMFS/px4fmu_common/init.d/rcS

@ -194,21 +194,14 @@ else
# #
# Start system state indicator. # Start system state indicator.
# #
if ! rgbled start rgbled start
then
rgbled_ncp5623c start rgbled_ncp5623c start
#
# FMUv5 may have both PWM I2C RGB LED support.
#
rgbled_pwm start rgbled_pwm start
if blinkm start if blinkm start
then then
blinkm systemstate blinkm systemstate
fi fi
fi
# #
# Start the tone_alarm driver. # Start the tone_alarm driver.

Loading…
Cancel
Save