net/csma_sender:Move CSMA_SENDER_MAX_BACKOFFS_DEFAULT
Move CSMA_SENDER_MAX_BACKOFFS_DEFAULT to 'CONFIG_' namespace
This commit is contained in:
parent
ced72c9cf4
commit
f130303ee0
@ -57,8 +57,8 @@ extern "C" {
|
|||||||
* @brief Default Maximal number of retries for sending
|
* @brief Default Maximal number of retries for sending
|
||||||
* a given packet with the CSMA/CA method
|
* a given packet with the CSMA/CA method
|
||||||
*/
|
*/
|
||||||
#ifndef CSMA_SENDER_MAX_BACKOFFS_DEFAULT
|
#ifndef CONFIG_CSMA_SENDER_MAX_BACKOFFS_DEFAULT
|
||||||
#define CSMA_SENDER_MAX_BACKOFFS_DEFAULT (4U)
|
#define CONFIG_CSMA_SENDER_MAX_BACKOFFS_DEFAULT (4U)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -40,7 +40,7 @@
|
|||||||
const csma_sender_conf_t CSMA_SENDER_CONF_DEFAULT = {
|
const csma_sender_conf_t CSMA_SENDER_CONF_DEFAULT = {
|
||||||
CONFIG_CSMA_SENDER_MIN_BE_DEFAULT,
|
CONFIG_CSMA_SENDER_MIN_BE_DEFAULT,
|
||||||
CONFIG_CSMA_SENDER_MAX_BE_DEFAULT,
|
CONFIG_CSMA_SENDER_MAX_BE_DEFAULT,
|
||||||
CSMA_SENDER_MAX_BACKOFFS_DEFAULT,
|
CONFIG_CSMA_SENDER_MAX_BACKOFFS_DEFAULT,
|
||||||
CSMA_SENDER_BACKOFF_PERIOD_UNIT
|
CSMA_SENDER_BACKOFF_PERIOD_UNIT
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user