From cceaf4538911a58b5dfff0c6a246ff28f13fdadb Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sat, 8 Jan 2022 11:41:02 +0100 Subject: [PATCH] sys/loramac: remove deprecated LORAMAC_DEFAULT_PUBLIC_NETWORK define --- sys/include/net/loramac.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/sys/include/net/loramac.h b/sys/include/net/loramac.h index 1ab6e09cdc..48b432a802 100644 --- a/sys/include/net/loramac.h +++ b/sys/include/net/loramac.h @@ -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 *