From 0297873f6ac3a9dc0844dc3da9d432e4253d555d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 13 Nov 2006 00:45:21 +0000 Subject: Backdrop support for greyscale targets. WPS backdrop is untested. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11520 a1c6a512-1295-4272-9138-f99709370657 --- apps/filetree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/filetree.c') diff --git a/apps/filetree.c b/apps/filetree.c index 9d5109c..f10c02b 100644 --- a/apps/filetree.c +++ b/apps/filetree.c @@ -54,7 +54,7 @@ static int boot_size = 0; static int boot_cluster; #endif -#ifdef HAVE_LCD_COLOR +#if LCD_DEPTH > 1 #include "backdrop.h" #endif @@ -466,7 +466,7 @@ int ft_enter(struct tree_context* c) /* wps config file */ case TREE_ATTR_WPS: gui_syncsplash(0, true, str(LANG_WAIT)); -#ifdef HAVE_LCD_COLOR +#if LCD_DEPTH > 1 unload_wps_backdrop(); #endif wps_data_load(gui_wps[0].data, buf, true); -- cgit v1.1