xiaoxiang781216 commented on code in PR #5070:
URL: https://github.com/apache/incubator-nuttx/pull/5070#discussion_r998952692


##########
include/semaphore.h:
##########
@@ -48,8 +48,8 @@
 
 /* Bit definitions for the struct sem_s flags field */
 
-#define PRIOINHERIT_FLAGS_DISABLE (1 << 0)  /* Bit 0: Priority inheritance
-                                             * is disabled for this semaphore. 
*/
+#define PRIOINHERIT_FLAGS_ENABLE (1 << 0)  /* Bit 0: Priority inheritance

Review Comment:
   let change NXSEM_INITIALIZER(xxx, PRIOINHERIT_FLAGS_DISABLE) to 
SEM_INITIALIZER(xxx)



-- 
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

Reply via email to