Update sys_mutex.h

This commit is contained in:
Elad Ashkenazi authored and Ani committed 2023-06-04 01:26:24 +02:00
1 parent 33558d14e5
commit feff50e7e0
1 file changed
+1 -1
+1 -1
View File
@@ -171,7 +171,7 @@ struct lv2_mutex final : lv2_obj
{
res = schedule<T>(data.sq, protocol, false);
if (sq == data.sq)
if (sq == res)
{
atomic_storage<u32>::release(control.raw().owner, res->id);
return false;