From e1e5be36e02d0497637e45b81c7ee0137ca6c09c Mon Sep 17 00:00:00 2001 From: wb2osz Date: Fri, 18 Oct 2024 23:46:42 +0100 Subject: [PATCH] MAX_ADEVS==4 enabled debug output options. --- src/config.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/config.c b/src/config.c index 863edcd..097c908 100644 --- a/src/config.c +++ b/src/config.c @@ -19,8 +19,8 @@ #define CONFIG_C 1 // influences behavior of aprs_tt.h -// FIXME: -#define DEBUG 1 + +//#define DEBUG 1 /*------------------------------------------------------------------ * @@ -772,6 +772,7 @@ void config_init (char *fname, struct audio_s *p_audio_config, } // MAX_RADIO_CHANS for achan[] +// Maybe achan should be renamed to radiochan to make it clearer. for (channel=0; channel= MAX_RADIO_CHANS) { text_color_set(DW_COLOR_ERROR); dw_printf ("Line %d: MODEM can only be used with radio channel 0 - %d.\n", line, MAX_RADIO_CHANS-1); continue; } - int n; t = split(NULL,0); if (t == NULL) {