don't needlessly duplicate code

This commit is contained in:
marschap
2007-11-04 14:49:51 +00:00
parent e6c4b71ff0
commit 280a60d30f
6 changed files with 26 additions and 36 deletions
+1 -2
View File
@@ -742,12 +742,11 @@ CFontzPacket_set_brightness(Driver *drvthis, int state, int promille)
/* store the software value since there is not get */
if (state == BACKLIGHT_ON) {
p->brightness = promille;
//CFontzPacket_backlight(drvthis, BACKLIGHT_ON);
}
else {
p->offbrightness = promille;
//CFontzPacket_backlight(drvthis, BACKLIGHT_OFF);
}
//CFontzPacket_backlight(drvthis, state);
}