summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-07-12 08:10:55 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-07-12 08:10:55 +0000
commitdcad830c92ea7e484cb972702f27770e4d469f85 (patch)
treede7f0b73a49f7d1c718a1c315295ecce4ab69d12 /apps
parent221ade16afbfb78e381a858d45c694b4649a43f1 (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/stopwatch.c4
1 files changed, 4 insertions, 0 deletions
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)
{