summaryrefslogtreecommitdiff
path: root/apps/plugins/rocklife.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rocklife.c')
-rw-r--r--apps/plugins/rocklife.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/rocklife.c b/apps/plugins/rocklife.c
index f881d88526..14856638e2 100644
--- a/apps/plugins/rocklife.c
+++ b/apps/plugins/rocklife.c
@@ -60,6 +60,7 @@
#include "plugin.h"
#include "pluginlib_actions.h"
+#include "helper.h"
PLUGIN_HEADER
@@ -405,7 +406,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
(void)parameter;
rb = api;
- rb->backlight_set_timeout(1);
+ backlight_force_on(rb); /* backlight control in lib/helper.c */
#if LCD_DEPTH > 1
rb->lcd_set_backdrop(NULL);
rb->lcd_set_background(LCD_DEFAULT_BG);
@@ -482,7 +483,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
rb->yield();
}
- rb->backlight_set_timeout(rb->global_settings->backlight_timeout);
+ backlight_use_settings(rb); /* backlight control in lib/helper.c */
return PLUGIN_OK;
}