fix syntax
This commit is contained in:
parent
fe89c81bfa
commit
736225c90e
@ -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);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user