diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-08-26 13:21:14 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-08-26 13:21:14 +0000 |
| commit | 457b8a0a6743b7bee72d90e484055b7635861612 (patch) | |
| tree | e3256d74445f89d6a89df31255eb59a179ee3d11 /apps/tree.c | |
| parent | 006c46675e5677fc483c0a9e36a8bd65e488cf8b (diff) | |
| download | rockbox-457b8a0a6743b7bee72d90e484055b7635861612.zip rockbox-457b8a0a6743b7bee72d90e484055b7635861612.tar.gz rockbox-457b8a0a6743b7bee72d90e484055b7635861612.tar.bz2 rockbox-457b8a0a6743b7bee72d90e484055b7635861612.tar.xz | |
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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c index 9dae322..e47452f 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -39,6 +39,7 @@ #include "settings.h" #include "status.h" #include "debug.h" +#include "ata.h" #ifdef HAVE_LCD_BITMAP #include "icons.h" @@ -718,6 +719,9 @@ bool dirbrowse(char *root) #endif } + if ( button ) + ata_spin(); + if ( restore ) { /* restore display */ /* We need to adjust if the number of lines on screen have |