From dcad830c92ea7e484cb972702f27770e4d469f85 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Mon, 12 Jul 2004 08:10:55 +0000 Subject: The stop watch now inhibits the idle poweroff while counting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4863 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/stopwatch.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps') diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c index f4da7bfeaf..f71c4fe454 100644 --- a/apps/plugins/stopwatch.c +++ b/apps/plugins/stopwatch.c @@ -94,6 +94,10 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) else { button = rb->button_get_w_tmo(10); + + /* Make sure that the jukebox isn't powered off + automatically */ + rb->reset_poweroff_timer(); } switch (button) { -- cgit v1.2.3