fix syntax

This commit is contained in:
aanper 2020-10-22 09:59:33 +03:00
parent fe89c81bfa
commit 736225c90e

View File

@ -64,9 +64,7 @@ void template_app(void* p) {
Event event; Event event;
while(1) { while(1) {
osStatus_t event_status = osMessageQueueGet( osStatus_t event_status = osMessageQueueGet(
event_queue, event_queue, &event, NULL,
&event,
NULL,
/* specify timeout */ /* specify timeout */
); );
State* state = (State*)acquire_mutex_block(&state_mutex); State* state = (State*)acquire_mutex_block(&state_mutex);
@ -100,4 +98,4 @@ void template_app(void* p) {
// widget_update(widget); // widget_update(widget);
release_mutex(&state_mutex, state); release_mutex(&state_mutex, state);
} }