summaryrefslogtreecommitdiff
path: root/device.mk
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-05-04 22:12:20 +0200
committerRobert Foss <robert.foss@collabora.com>2017-05-04 16:23:55 -0400
commit31029d550c17946822ff6f4b45a7cceac0149a50 (patch)
treeb69bef98834f538f64798c89095d70798fe3fc0d /device.mk
parent76093a4b8220069f369290d38a2da80ee1d86e81 (diff)
downloadandroid-device-linaro-generic-31029d550c17946822ff6f4b45a7cceac0149a50.tar.gz
android-device-linaro-generic-31029d550c17946822ff6f4b45a7cceac0149a50.tar.xz
lights: normalize with max
Otherwise when we get 255 brightness and 100 max_brightness, we will really end up with 99 normalized: 255 * 100 / 256 = 99
Diffstat (limited to 'device.mk')
0 files changed, 0 insertions, 0 deletions