From 457b8a0a6743b7bee72d90e484055b7635861612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Mon, 26 Aug 2002 13:21:14 +0000 Subject: 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 --- apps/tree.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/tree.c') 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 -- cgit v1.1