aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--drv_picoLCDGraphic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drv_picoLCDGraphic.c b/drv_picoLCDGraphic.c
index fa7e15b..1bbb4fa 100644
--- a/drv_picoLCDGraphic.c
+++ b/drv_picoLCDGraphic.c
@@ -539,7 +539,7 @@ static int drv_pLG_start(const char *section, const int quiet)
drv_pLG_contrast(value);
}
- if (cfg_number(section, "Backlight", 0, 0, 1, &value) > 0) {
+ if (cfg_number(section, "Backlight", 0, 0, 255, &value) > 0) {
info("Setting backlight to %d", value);
drv_pLG_backlight(value);
}