Update sys_lwmutex.h

This commit is contained in:
Elad Ashkenazi 2023-06-03 17:40:43 +03:00 committed by Ani
parent feff50e7e0
commit 1240874e41

View File

@ -167,7 +167,7 @@ struct lv2_lwmutex final : lv2_obj
{
res = schedule<T>(data.sq, protocol, false);
if (sq == data.sq)
if (sq == res)
{
return false;
}