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:
parent
5b63d5c3fb
commit
cc63fa4306
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue