aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;