summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/sandisk/sansa-e200/button-e200.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/sandisk/sansa-e200/button-e200.c')
-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)