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
This commit is contained in:
Davide Garberi 2020-01-08 22:51:07 +01:00 committed by OdSazib
parent 5b63d5c3fb
commit cc63fa4306
No known key found for this signature in database
GPG key ID: CB336514F9F5CF69

View file

@ -144,12 +144,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);
}