From 22968fdc5dd65b6ef62ef9d98c8f08a76b232a6e Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Wed, 8 Jan 2020 22:51:07 +0100 Subject: sdm660-common: light: Set blink as last parameter * Setting it earlier brings the device to often not show the led light at all Change-Id: I2663611241f7db571625e25694ebc77601bde5f6 --- light/Light.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'light') diff --git a/light/Light.cpp b/light/Light.cpp index d0ba5d6..35ddfd1 100644 --- a/light/Light.cpp +++ b/light/Light.cpp @@ -146,12 +146,12 @@ static void setNotification(const LightState& state) { } /* White */ - set(WHITE BLINK, 1); set(WHITE START_IDX, 0 * RAMP_STEPS); set(WHITE DUTY_PCTS, getScaledRamp(whiteBrightness)); set(WHITE PAUSE_LO, pauseLo); set(WHITE PAUSE_HI, pauseHi); set(WHITE RAMP_STEP_MS, stepDuration); + set(WHITE BLINK, 1); } else { set(WHITE BRIGHTNESS, whiteBrightness); } -- cgit v1.2.3