sys/loramac: remove deprecated LORAMAC_DEFAULT_PUBLIC_NETWORK define
This commit is contained in:
parent
4f9c28eee8
commit
cceaf45389
@ -145,23 +145,6 @@ extern "C" {
|
|||||||
#define CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK
|
#define CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Default network type (public or private)
|
|
||||||
*
|
|
||||||
* This configuration sets the sync word for LoRaWAN communication. This should
|
|
||||||
* be in concordance with the gateway configuration. Public networks use `0x34`
|
|
||||||
* while private networks use `0x12` as sync word.
|
|
||||||
* @deprecated Use inverse @ref CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK instead.
|
|
||||||
* Will be removed after 2021.04 release.
|
|
||||||
*/
|
|
||||||
#ifndef LORAMAC_DEFAULT_PUBLIC_NETWORK
|
|
||||||
#if IS_ACTIVE(CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK)
|
|
||||||
#define LORAMAC_DEFAULT_PUBLIC_NETWORK (false)
|
|
||||||
#else
|
|
||||||
#define LORAMAC_DEFAULT_PUBLIC_NETWORK (true)
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Default datarate index
|
* @brief Default datarate index
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user