summaryrefslogtreecommitdiff
path: root/recipes/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch
blob: 7a953c25ecf78d20a048ba4604ce5d8547f652f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- gpe-conf-0.2.5/modules/screen/brightness.c~brightness
+++ gpe-conf-0.2.5/modules/screen/brightness.c
@@ -216,7 +216,7 @@
   FILE *f_power;
   gint value = SYS_STATE_ON;
   
-  f_power = fopen(SYS_BRIGHTNESS, "r");
+  f_power = fopen(SYS_POWER, "r");
   if (f_power != NULL)
   {
   	fscanf(f_power,"%i", &value);