From 14c54ccdb9a7bd8708e54f63024cb03f9d07586d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 15 Dec 2003 11:48:36 +0000 Subject: handle_on() depends on the presence of an ON button git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4155 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps') diff --git a/apps/tree.c b/apps/tree.c index 392328bd1d..4002e94703 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -699,6 +699,7 @@ void set_current_file(char *path) } } +#ifdef BUTTON_ON static bool handle_on(int *ds, int *dc, int numentries, int tree_max_on_screen, int *dirfilter) { bool exit = false; @@ -817,6 +818,7 @@ static bool handle_on(int *ds, int *dc, int numentries, int tree_max_on_screen, return used; } +#endif static bool dirbrowse(char *root, int *dirfilter) { -- cgit v1.2.3