Make lcd_set_enable_hook() conditional on HAVE_LCD_ENABLE and HAVE_LCD_COLOR
commitd3fd697e20dd673a5fef5badb7dad1746a3a8527
authorfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Fri, 31 Oct 2008 21:48:44 +0000 (31 21:48 +0000)
committerfunman <funman@a1c6a512-1295-4272-9138-f99709370657>
Fri, 31 Oct 2008 21:48:44 +0000 (31 21:48 +0000)
tree3b9ae563cc30aefe61a429bbf30079e6491fe1cc
parent29eb4add2052e79ab043e1ea8bb3d2bd34425ff1
Make lcd_set_enable_hook() conditional on HAVE_LCD_ENABLE and HAVE_LCD_COLOR

This prepares for the Clip which will define HAVE_LCD_ENABLE but won't
need the hook since the internal LCD framebuffer is updated regardless
if the display is on or off.

firmware/drivers/lcd-16bit.c has not been modified since HAVE_LCD_COLOR
is obviously defined here

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18951 a1c6a512-1295-4272-9138-f99709370657
apps/plugin.c
apps/plugin.h
apps/plugins/mpegplayer/mpeg_settings.c
apps/plugins/mpegplayer/mpegplayer.c
docs/PLUGIN_API.new
firmware/export/lcd.h