Skip to content
Snippets Groups Projects
Commit 3ef92e03 authored by deuce's avatar deuce
Browse files

listTryWait() and listTryWaitBlock() have opposite return values.

This is probobly a bug, but I don't know which is intended.
parent 97f13c80
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