From 2b89ca50fa53c6b598b966d0ee80a26714d4c0d6 Mon Sep 17 00:00:00 2001 From: SG Date: Fri, 28 May 2021 19:45:54 +1000 Subject: [PATCH] Blink app: add delay to prevent notifications stuck (#499) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: あく --- applications/examples/blink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/examples/blink.c b/applications/examples/blink.c index 308b30f0..f146e490 100644 --- a/applications/examples/blink.c +++ b/applications/examples/blink.c @@ -49,7 +49,7 @@ int32_t application_blink(void* p) { view_port_draw_callback_set(view_port, blink_draw_callback, NULL); view_port_input_callback_set(view_port, blink_input_callback, event_queue); osTimerId_t timer = osTimerNew(blink_update, osTimerPeriodic, event_queue, NULL); - osTimerStart(timer, 500); + osTimerStart(timer, 1000); // Register view port in GUI Gui* gui = furi_record_open("gui");