summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
939eeb5)
of 1 and 2 are not possible.
-if [ "$new" -lt "0" ]; then
+if [ "$new" -lt "3" ]; then
elif [ "$cur" -gt "0" ]; then
new=$(($cur+1))
elif [ "$cur" -eq "0" ]; then
elif [ "$cur" -gt "0" ]; then
new=$(($cur+1))
elif [ "$cur" -eq "0" ]; then
fi
if [ "$new" -gt "54" ]; then
new=54
fi
fi
if [ "$new" -gt "54" ]; then
new=54
fi
echo $new > /sys/devices/platform/twl4030-pwm0-bl/backlight/twl4030-pwm0-bl/brightness
echo $new > /sys/devices/platform/twl4030-pwm0-bl/backlight/twl4030-pwm0-bl/brightness