mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
default for Brightness is 255
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@813 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
@@ -427,7 +427,7 @@ static int drv_X11_start(const char *section)
|
||||
XClearWindow(dp, w);
|
||||
|
||||
/* set brightness (after first background painting) */
|
||||
if (cfg_number(section, "Brightness", 0, 0, 255, &i) > 0) {
|
||||
if (cfg_number(section, "Brightness", 255, 0, 255, &i) > 0) {
|
||||
drv_X11_brightness(i);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user