mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #14316 from leandrolanzieri/pr/gnrc/gomach_lwmac_remove_queue_size_option
gnrc/[gomach,lwmac]: Remove unused queue size option
This commit is contained in:
commit
3a135c94bb
@ -349,31 +349,8 @@ extern "C" {
|
||||
#ifndef CONFIG_GNRC_GOMACH_MAX_T2U_RETYR_THRESHOLD
|
||||
#define CONFIG_GNRC_GOMACH_MAX_T2U_RETYR_THRESHOLD (10U)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Default message queue size to use for the GoMacH thread (as exponent
|
||||
* of 2^n).
|
||||
*
|
||||
* As the queue size ALWAYS needs to be power of two, this option represents the
|
||||
* exponent of 2^n, which will be used as the size of the queue.
|
||||
*
|
||||
* The value of this macro should be enough for supporting the manipulation of
|
||||
* GoMacH.
|
||||
*/
|
||||
#ifndef CONFIG_GNRC_GOMACH_IPC_MSG_QUEUE_SIZE_EXP
|
||||
#define CONFIG_GNRC_GOMACH_IPC_MSG_QUEUE_SIZE_EXP (3U)
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Message queue size to use for the GoMacH thread.
|
||||
*/
|
||||
#ifndef GNRC_GOMACH_IPC_MSG_QUEUE_SIZE
|
||||
#define GNRC_GOMACH_IPC_MSG_QUEUE_SIZE (1 << CONFIG_GNRC_GOMACH_IPC_MSG_QUEUE_SIZE_EXP)
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
|
||||
/**
|
||||
* @brief Creates an IEEE 802.15.4 GoMacH network interface
|
||||
*
|
||||
|
@ -290,30 +290,8 @@ extern "C" {
|
||||
#ifndef GNRC_LWMAC_BROADCAST_CSMA_RETRIES
|
||||
#define GNRC_LWMAC_BROADCAST_CSMA_RETRIES (3U)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Default message queue size to use for the LWMAC thread (as exponent of
|
||||
* 2^n).
|
||||
*
|
||||
* As the queue size ALWAYS needs to be power of two, this option represents the
|
||||
* exponent of 2^n, which will be used as the size of the queue.
|
||||
*
|
||||
* The value of this macro should be enough for supporting the manipulation of
|
||||
* LWMAC.
|
||||
*
|
||||
*/
|
||||
#ifndef CONFIG_GNRC_LWMAC_IPC_MSG_QUEUE_SIZE_EXP
|
||||
#define CONFIG_GNRC_LWMAC_IPC_MSG_QUEUE_SIZE_EXP (3U)
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Message queue size to use for the LWMAC thread.
|
||||
*/
|
||||
#ifndef GNRC_LWMAC_IPC_MSG_QUEUE_SIZE
|
||||
#define GNRC_LWMAC_IPC_MSG_QUEUE_SIZE (1 << CONFIG_GNRC_LWMAC_IPC_MSG_QUEUE_SIZE_EXP)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Creates an IEEE 802.15.4 LWMAC network interface
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user