From 9d416819907c200559c6dc3f27d1e5d2e2d83ff8 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Thu, 29 Jun 2023 11:59:21 +0100 Subject: [PATCH] Make the various modes optional within the executable. --- Defines.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Defines.h b/Defines.h index a7075b9..3b26fd6 100644 --- a/Defines.h +++ b/Defines.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015,2016,2017,2018,2020,2021 by Jonathan Naylor G4KLX + * Copyright (C) 2015,2016,2017,2018,2020,2021,2023 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,6 +19,17 @@ #if !defined(Defines_H) #define Defines_H +// Define the wanted modes to compile into the host here +#define USE_DSTAR +#define USE_DMR +#define USE_YSF +#define USE_P25 +#define USE_NXDN +#define USE_POCSAG +#define USE_FM +#define USE_AX25 +#define USE_M17 + const unsigned char MODE_IDLE = 0U; const unsigned char MODE_DSTAR = 1U; const unsigned char MODE_DMR = 2U;