diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-03-30 16:06:02 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-03-30 16:06:02 +0000 |
| commit | 1034dea00e911bbefaca6902355f3f074f9b5ac1 (patch) | |
| tree | e30948f9be60e20266cb827ed8919094dc836bfa /apps/plugin.h | |
| parent | 842d2bc1c32cc9eb0507e4c55c26049356ac833e (diff) | |
| download | rockbox-1034dea00e911bbefaca6902355f3f074f9b5ac1.zip rockbox-1034dea00e911bbefaca6902355f3f074f9b5ac1.tar.gz rockbox-1034dea00e911bbefaca6902355f3f074f9b5ac1.tar.bz2 rockbox-1034dea00e911bbefaca6902355f3f074f9b5ac1.tar.xz | |
Only export contrast if a target actually features contrast.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20579 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 3 |
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); |