sdm660-common: light: Set saner ramp values
Change-Id: Idf8053945cb9cfc15d4d401ec0e78953d3f3b051 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
This commit is contained in:
parent
604c8b8600
commit
3109aa6db9
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ using ::android::base::WriteStringToFile;
|
|||
constexpr auto kDefaultMaxLedBrightness = 255;
|
||||
constexpr auto kDefaultMaxScreenBrightness = 4095;
|
||||
|
||||
// Each step will stay on for 100ms by default.
|
||||
constexpr auto kRampStepDuration = 100;
|
||||
// Each step will stay on for 150ms by default.
|
||||
constexpr auto kRampStepDuration = 150;
|
||||
|
||||
// Each value represents a duty percent (0 - 100) for the led pwm.
|
||||
constexpr std::array kBrightnessRamp = {0, 12, 25, 37, 50, 72, 85, 100, 85, 72, 50, 37, 25, 12, 0};
|
||||
|
|
Loading…
Reference in a new issue