Unlock mutex, don't lock it again

This commit is contained in:
Tristan B. Kildaire 2020-10-29 11:32:12 +02:00
parent 7a963dab38
commit aa5e03f84e
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ void gprint(messageT)(messageT message, DebugType debugType = DebugType.INFO)
write(message);
/* Unlock output */
writeMutex.lock();
writeMutex.unlock();
}
void gprintln(messageT)(messageT message, DebugType debugType = DebugType.INFO)