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;
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);
}
}