aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-05-17 07:02:10 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-05-17 07:02:10 +0000
commitd37c96b53ed8c6a4a53257fc34d86757c67c267d (patch)
tree9b0414793f5c6ba61d4c4557f0e0ef9b63f21810
parent06caf998da7e1dd8bbda1e504cb894638e9b26b1 (diff)
downloadlcd4linux-d37c96b53ed8c6a4a53257fc34d86757c67c267d.tar.gz
Ticket #184 (LCD::contrast and LCD::backlight segfaulting) fixed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1120 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--drv_picoLCDGraphic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drv_picoLCDGraphic.c b/drv_picoLCDGraphic.c
index 5e28eb8..b5652e7 100644
--- a/drv_picoLCDGraphic.c
+++ b/drv_picoLCDGraphic.c
@@ -705,8 +705,8 @@ int drv_pLG_init(const char *section, const int quiet)
/* register plugins */
- AddFunction("LCD::contrast", -1, plugin_contrast);
- AddFunction("LCD::backlight", -1, plugin_backlight);
+ AddFunction("LCD::contrast", 1, plugin_contrast);
+ AddFunction("LCD::backlight", 1, plugin_backlight);
AddFunction("LCD::gpo", -1, plugin_gpo);
return 0;