summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-09-18 21:44:47 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-09-18 21:44:47 +0000
commit137ce717097ed58efb4c7f59d5d35af0d4992dda (patch)
tree9837ce120e708bc90ee1ed432fc0777aabcc6840
parent804aada500fbdf2c99b64d90ee3838c3a44cd429 (diff)
downloadrockbox-137ce717097ed58efb4c7f59d5d35af0d4992dda.tar.gz
rockbox-137ce717097ed58efb4c7f59d5d35af0d4992dda.zip
Kick the idle poweroff timer on wheel activity. Should fix FS #7786
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14747 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/button-e200.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/button-e200.c b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
index af68f32279..f6a01c863c 100644
--- a/firmware/target/arm/sandisk/sansa-e200/button-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/button-e200.c
@@ -22,6 +22,7 @@
#include "system.h"
#include "button.h"
#include "backlight.h"
+#include "powermgmt.h"
#define WHEEL_REPEAT_INTERVAL 300000
#define WHEEL_FAST_ON_INTERVAL 20000
@@ -196,6 +197,7 @@ void clickwheel_int(void)
next_backlight_on = current_tick + HZ/4;
backlight_on();
button_backlight_on();
+ reset_poweroff_timer();
}
if (btn != BUTTON_NONE)