mirror of
https://github.com/apache/nuttx.git
synced 2026-09-01 06:33:00 +00: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:
parent
1067b6afc9
commit
efc863217b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue