Skip to content
Snippets Groups Projects
Commit 42ef3b2f authored by deuce's avatar deuce
Browse files

Use the new listSemTryWaitBlock() semantics.

parent 15cbd17e
Branches
Tags
No related merge requests found
......@@ -190,7 +190,7 @@ void playnote_thread(void *args)
playnote_thread_running=TRUE;
while(1) {
if(device_open) {
if(listSemTryWaitBlock(&notes,5000)) {
if(!listSemTryWaitBlock(&notes,5000)) {
xptone_close();
device_open=FALSE;
listSemWait(&notes);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment