pkarashchenko commented on code in PR #6389: URL: https://github.com/apache/incubator-nuttx/pull/6389#discussion_r892379840
########## include/sys/ipc.h: ########## @@ -35,10 +35,10 @@ /* Mode bits: The lower order 9-bit bits are the standard mode bits */ -#define IPC_MODE 0x01ff /* Mode bit mask */ -#define IPC_CREAT (1 << 10) /* Create entry if key does not exist */ -#define IPC_EXCL (1 << 11) /* Fail if key exists */ -#define IPC_NOWAIT (1 << 12) /* Error if request must wait */ +#define IPC_MODE 0x01ff /* Mode bit mask */ +#define IPC_CREAT 01000 /* Create key if key does not exist. */ +#define IPC_EXCL 02000 /* Fail if key exists. */ +#define IPC_NOWAIT 04000 /* Return error on wait. */ Review Comment: can we use hex constant variant? -- 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