summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index d261ea5..97c9512 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -151,7 +151,10 @@ enum plugin_status {
struct plugin_api {
/* lcd */
+
+#ifdef HAVE_LCD_CONTRAST
void (*lcd_set_contrast)(int x);
+#endif
void (*lcd_update)(void);
void (*lcd_clear_display)(void);
int (*lcd_getstringsize)(const unsigned char *str, int *w, int *h);