From 3109aa6db9371797d36238d77a6da0898df8ab9b Mon Sep 17 00:00:00 2001 From: Demon Singur Date: Wed, 8 Jan 2020 21:58:22 +0100 Subject: [PATCH] sdm660-common: light: Set saner ramp values Change-Id: Idf8053945cb9cfc15d4d401ec0e78953d3f3b051 Signed-off-by: Davide Garberi --- light/Light.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/light/Light.cpp b/light/Light.cpp index 1888659f..88cacdcf 100644 --- a/light/Light.cpp +++ b/light/Light.cpp @@ -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};