sys/loramac: remove deprecated LORAMAC_DEFAULT_PUBLIC_NETWORK define

This commit is contained in:
Alexandre Abadie 2022-01-08 11:41:02 +01:00
parent 4f9c28eee8
commit cceaf45389
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -145,23 +145,6 @@ extern "C" {
#define CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK
#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
*