diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-12 08:10:55 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-12 08:10:55 +0000 |
commit | dcad830c92ea7e484cb972702f27770e4d469f85 (patch) | |
tree | de7f0b73a49f7d1c718a1c315295ecce4ab69d12 /apps | |
parent | 221ade16afbfb78e381a858d45c694b4649a43f1 (diff) | |
download | rockbox-dcad830c92ea7e484cb972702f27770e4d469f85.tar.gz rockbox-dcad830c92ea7e484cb972702f27770e4d469f85.zip |
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.c | 4 |
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) | |||
94 | else | 94 | else |
95 | { | 95 | { |
96 | button = rb->button_get_w_tmo(10); | 96 | button = rb->button_get_w_tmo(10); |
97 | |||
98 | /* Make sure that the jukebox isn't powered off | ||
99 | automatically */ | ||
100 | rb->reset_poweroff_timer(); | ||
97 | } | 101 | } |
98 | switch (button) | 102 | switch (button) |
99 | { | 103 | { |