From 736225c90e68ee363ea1e61061c6688ab5bd510b Mon Sep 17 00:00:00 2001 From: aanper Date: Thu, 22 Oct 2020 09:59:33 +0300 Subject: [PATCH] fix syntax --- applications/template/template.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/applications/template/template.c b/applications/template/template.c index 314136860..0979c0dbe 100644 --- a/applications/template/template.c +++ b/applications/template/template.c @@ -64,9 +64,7 @@ void template_app(void* p) { Event event; while(1) { osStatus_t event_status = osMessageQueueGet( - event_queue, - &event, - NULL, + event_queue, &event, NULL, /* specify timeout */ ); State* state = (State*)acquire_mutex_block(&state_mutex); @@ -100,4 +98,4 @@ void template_app(void* p) { // widget_update(widget); release_mutex(&state_mutex, state); -} \ No newline at end of file + } \ No newline at end of file