You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/09/01 03:58:31 UTC
[incubator-nuttx] 01/02: user/trap: Enforce CONFIG_MQ_MAXMSGSIZE
>=64 when NX Server is used
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 72973629a7449cbdac8ecaa9eb4ec903d9d89826
Author: Alan C. Assis <ac...@gmail.com>
AuthorDate: Tue Aug 31 17:05:50 2021 -0300
user/trap: Enforce CONFIG_MQ_MAXMSGSIZE >=64 when NX Server is used
---
graphics/nxmu/nxmu.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/graphics/nxmu/nxmu.h b/graphics/nxmu/nxmu.h
index cb35061..71d284a 100644
--- a/graphics/nxmu/nxmu.h
+++ b/graphics/nxmu/nxmu.h
@@ -40,6 +40,10 @@
* Pre-processor Definitions
****************************************************************************/
+#if CONFIG_MQ_MAXMSGSIZE < 64
+#error "The NX Server needs CONFIG_MQ_MAXMSGSIZE >= 64"
+#endif
+
/****************************************************************************
* Public Types
****************************************************************************/