[riot-notifications] [RIOT-OS/RIOT] gnrc: Use exponent to configure message queue sizes (#14086)

Martine Lenders notifications at github.com
Mon May 18 13:59:20 CEST 2020


@miri64 commented on this pull request.



>   *
  * The value of this macro should be enough for supporting the manipulation of
  * GoMacH.
  */
-#ifndef GNRC_GOMACH_IPC_MSG_QUEUE_SIZE
-#define GNRC_GOMACH_IPC_MSG_QUEUE_SIZE        (8U)
+#ifndef CONFIG_GNRC_GOMACH_IPC_MSG_QUEUE_SIZE_EXP
+#define CONFIG_GNRC_GOMACH_IPC_MSG_QUEUE_SIZE_EXP        (3U)

(Yes `LOG2` is mathematically more correct, but I think more people have a grasp of what the binary exponent for the queue size of 8 is, than what the binary logarithm of queue size 8 is)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14086#discussion_r426572696
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200518/c58faf5b/attachment-0001.htm>


More information about the notifications mailing list