From f4d4a6ab60960385b99fd43d8e1d0213bdf1aec3 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Thu, 3 Jul 2008 13:37:57 +0000 Subject: Implement FS#8947 - Add a stub in the simulator for ata_disk_is_active. This make it possible to clean up some #ifdef SIMULATOR macros. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17927 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/tagtree.c') diff --git a/apps/tagtree.c b/apps/tagtree.c index b8fffa9b56..eb9df07113 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -1057,7 +1057,7 @@ static int retrieve_entries(struct tree_context *c, struct tagcache_search *tcs, /* Show search progress straight away if the disk needs to spin up, otherwise show it after the normal 1/2 second delay */ show_search_progress( -#if !defined(HAVE_FLASH_STORAGE) && !defined(SIMULATOR) +#if !defined(HAVE_FLASH_STORAGE) ata_disk_is_active() #else true -- cgit v1.2.3