From 2e429ff76221e2d39a35d8875c6a3add76191519 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Sat, 19 Feb 2005 14:44:31 +0000 Subject: a bit nicer: delay of the disk activity indicator is supplied by app layer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6019 a1c6a512-1295-4272-9138-f99709370657 --- apps/status.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps') diff --git a/apps/status.c b/apps/status.c index 2af3ea91a4..562cd50964 100644 --- a/apps/status.c +++ b/apps/status.c @@ -160,7 +160,7 @@ void status_draw(bool force_redraw) info.repeat = global_settings.repeat_mode; info.playmode = current_playmode(); #ifndef HAVE_LED - info.led = led_read(); + info.led = led_read(HZ/2); /* delay should match polling interval */ #endif /* only redraw if forced to, or info has changed */ @@ -241,8 +241,8 @@ void status_draw(bool force_redraw) statusbar_time(info.hour, info.minute); #endif #ifndef HAVE_LED - if (info.led) - statusbar_led(); + if (info.led) + statusbar_led(); #endif lcd_update_rect(0, 0, LCD_WIDTH, STATUSBAR_HEIGHT); lastinfo = info; -- cgit v1.2.3