From a14d256a2f6ebd22bd644273a86e0fdb92c3b79c Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 24 Aug 2017 10:35:00 -1000 Subject: [PATCH] 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. --- ROMFS/tap_common/init.d/rcS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ROMFS/tap_common/init.d/rcS b/ROMFS/tap_common/init.d/rcS index 083245c337..9f64ab2711 100644 --- a/ROMFS/tap_common/init.d/rcS +++ b/ROMFS/tap_common/init.d/rcS @@ -74,6 +74,10 @@ tone_alarm start # # Start system state indicator # +if rgbled_pwm start +then +fi + if rgbled start then fi