mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 21:47:28 +08:00
Fix error: converting the result of '<<' to a boolean always evaluates to true
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
1067b6afc9
commit
efc863217b
@@ -463,7 +463,7 @@ static void sporadic_budget_expire(wdparm_t arg)
|
||||
|
||||
if (nxsched_islocked_tcb(tcb))
|
||||
{
|
||||
DEBUGASSERT((mrepl->flags && SPORADIC_FLAG_ALLOCED) != 0);
|
||||
DEBUGASSERT((mrepl->flags & SPORADIC_FLAG_ALLOCED) != 0);
|
||||
|
||||
/* Set the timeslice to the magic value */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user