From d37c96b53ed8c6a4a53257fc34d86757c67c267d Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 17 May 2010 07:02:10 +0000 Subject: 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 --- drv_picoLCDGraphic.c | 4 ++-- 1 file 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; -- cgit v1.2.3