[Pommed-commits] [SCM] pommed - hotkeys handler for Apple laptops branch, master, updated. 1.35-7-g744c8f4
Julien BLACHE
jb at jblache.org
Sat Feb 5 10:29:01 UTC 2011
The following commit has been merged in the master branch:
commit 6b3bfb6e94f5662c5bb767802a91a22863a0b563
Author: Andrew Engelbrecht <naturaltwig at gmail.com>
Date: Fri Feb 4 18:51:57 2011 +0100
Fix typo in pmac keyboard backlight fading code
diff --git a/ChangeLog b/ChangeLog
index ea32c5e..547851f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@ version 1.36:
- pommed: probe for applesmc through /sys/class/hwmon.
- pommed: add support for the MacBook7,1 (April 2010).
- all: use LDLIBS instead of adding libraries to LDFLAGS.
+ - pommed: fix keyboard backlight fading on pmac.
version 1.35:
- pommed: fix crash if no fnmode sysfs node found.
diff --git a/pommed/pmac/kbd_backlight.c b/pommed/pmac/kbd_backlight.c
index 0ff0ea6..4d8139c 100644
--- a/pommed/pmac/kbd_backlight.c
+++ b/pommed/pmac/kbd_backlight.c
@@ -228,7 +228,7 @@ kbd_pmu_backlight_set(int val, int who)
{
fadeval += step;
- adb_write_kbd_value(fd, (unsigned char)val);
+ adb_write_kbd_value(fd, (unsigned char)fadeval);
logdebug("KBD backlight value faded to %d\n", (int)fadeval);
--
pommed - hotkeys handler for Apple laptops
More information about the Pommed-commits
mailing list