summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-08-26 13:21:14 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-08-26 13:21:14 +0000
commit457b8a0a6743b7bee72d90e484055b7635861612 (patch)
treee3256d74445f89d6a89df31255eb59a179ee3d11 /apps/tree.c
parent006c46675e5677fc483c0a9e36a8bd65e488cf8b (diff)
downloadrockbox-457b8a0a6743b7bee72d90e484055b7635861612.tar.gz
rockbox-457b8a0a6743b7bee72d90e484055b7635861612.zip
Added configurable disk spindown. The disk will also now not spin down while you are running around in the dir browser or pressing buttons in the wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1987 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 9dae3229e2..e47452fe54 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -39,6 +39,7 @@
39#include "settings.h" 39#include "settings.h"
40#include "status.h" 40#include "status.h"
41#include "debug.h" 41#include "debug.h"
42#include "ata.h"
42 43
43#ifdef HAVE_LCD_BITMAP 44#ifdef HAVE_LCD_BITMAP
44#include "icons.h" 45#include "icons.h"
@@ -718,6 +719,9 @@ bool dirbrowse(char *root)
718#endif 719#endif
719 } 720 }
720 721
722 if ( button )
723 ata_spin();
724
721 if ( restore ) { 725 if ( restore ) {
722 /* restore display */ 726 /* restore display */
723 /* We need to adjust if the number of lines on screen have 727 /* We need to adjust if the number of lines on screen have