summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/gray_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/gray_core.c')
-rw-r--r--apps/plugins/lib/gray_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/gray_core.c b/apps/plugins/lib/gray_core.c
index 18b9c3c821..361b392458 100644
--- a/apps/plugins/lib/gray_core.c
+++ b/apps/plugins/lib/gray_core.c
@@ -257,11 +257,11 @@ void gray_show(bool enable)
257 if (enable) 257 if (enable)
258 { 258 {
259 _gray_info.flags |= _GRAY_RUNNING; 259 _gray_info.flags |= _GRAY_RUNNING;
260 _gray_rb->plugin_register_timer(FREQ / 67, 1, _timer_isr); 260 _gray_rb->timer_register(1, NULL, FREQ / 67, 1, _timer_isr);
261 } 261 }
262 else 262 else
263 { 263 {
264 _gray_rb->plugin_unregister_timer(); 264 _gray_rb->timer_unregister();
265 _gray_info.flags &= ~_GRAY_RUNNING; 265 _gray_info.flags &= ~_GRAY_RUNNING;
266 _gray_rb->lcd_update(); /* restore whatever there was before */ 266 _gray_rb->lcd_update(); /* restore whatever there was before */
267 } 267 }