acassis commented on code in PR #16030: URL: https://github.com/apache/nuttx/pull/16030#discussion_r2010172403
########## sched/semaphore/sem_post.c: ########## @@ -259,16 +259,18 @@ int nxsem_post(FAR sem_t *sem) * else try to get it in slow mode. */ -#if !defined(CONFIG_PRIORITY_INHERITANCE) && !defined(CONFIG_PRIORITY_PROTECT) - if (sem->flags & SEM_TYPE_MUTEX) + if ((sem->flags & SEM_TYPE_MUTEX) Review Comment: @jlaitine please include some comments here after changing the code, the explanation from commit message could be use as hint here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org