summaryrefslogtreecommitdiffstats
path: root/apps/plugins/iriver_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/iriver_flash.c')
-rw-r--r--apps/plugins/iriver_flash.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/iriver_flash.c b/apps/plugins/iriver_flash.c
index e5da55c7ed..748945c4c0 100644
--- a/apps/plugins/iriver_flash.c
+++ b/apps/plugins/iriver_flash.c
@@ -22,6 +22,7 @@
*
****************************************************************************/
#include "plugin.h"
+#include "lib/helper.h"
/*
* Flash commands may rely on null pointer dereferences to work correctly.
@@ -849,9 +850,15 @@ enum plugin_status plugin_start(const void* parameter)
/* setup LCD font */
rb->lcd_setfont(FONT_SYSFIXED);
+ /* don't let the backlight turn off or it might scare people */
+ backlight_ignore_timeout();
+
/* run the main entry function */
iriver_flash(parameter);
+ /* restore the original backlight settings */
+ backlight_use_settings();
+
/* restore LCD font */
rb->lcd_setfont(FONT_UI);