You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/11/02 07:28:39 UTC
[GitHub] [incubator-nuttx] anjiahao1 commented on a diff in pull request #7505: include/endian:add openbsd style macro
anjiahao1 commented on code in PR #7505:
URL: https://github.com/apache/incubator-nuttx/pull/7505#discussion_r1011305181
##########
include/endian.h:
##########
@@ -146,12 +146,24 @@
#define betoh16 be16toh
#define letoh16 le16toh
+#define bemtoh16(x) htobe16(*(uint16_t *)(x))
Review Comment:
Basic macros are already defined
--
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-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org