From 24a06aef9e10caf2a10e38cd20e0f66e89487d7a Mon Sep 17 00:00:00 2001 From: wb2osz Date: Mon, 8 May 2023 03:23:26 +0100 Subject: [PATCH] 1.7 dev version G --- src/demod.c | 2 +- src/direwolf.c | 2 +- src/ptt.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/demod.c b/src/demod.c index 4ed2842..cc52227 100644 --- a/src/demod.c +++ b/src/demod.c @@ -927,7 +927,7 @@ int demod_get_sample (int a) * *--------------------------------------------------------------------*/ -static int mute_input[MAX_CHANS]; +static volatile int mute_input[MAX_CHANS]; // New in 1.7. // A few people have a really bad audio cross talk situation where they receive their own transmissions. diff --git a/src/direwolf.c b/src/direwolf.c index 6215e96..0bf2116 100644 --- a/src/direwolf.c +++ b/src/direwolf.c @@ -301,7 +301,7 @@ int main (int argc, char *argv[]) text_color_init(t_opt); text_color_set(DW_COLOR_INFO); //dw_printf ("Dire Wolf version %d.%d (%s) Beta Test 4\n", MAJOR_VERSION, MINOR_VERSION, __DATE__); - dw_printf ("Dire Wolf DEVELOPMENT version %d.%d %s (%s)\n", MAJOR_VERSION, MINOR_VERSION, "F", __DATE__); + dw_printf ("Dire Wolf DEVELOPMENT version %d.%d %s (%s)\n", MAJOR_VERSION, MINOR_VERSION, "G", __DATE__); //dw_printf ("Dire Wolf version %d.%d\n", MAJOR_VERSION, MINOR_VERSION); diff --git a/src/ptt.c b/src/ptt.c index fdeff42..d5e2816 100644 --- a/src/ptt.c +++ b/src/ptt.c @@ -1175,7 +1175,7 @@ void ptt_set (int ot, int chan, int ptt_signal) // I think the simplest solution is to mute/unmute the audio input at this point if not full duplex. #ifndef TEST - if ( ! save_audio_config_p->achan[chan].fulldup) { + if ( ot == OCTYPE_PTT && ! save_audio_config_p->achan[chan].fulldup) { demod_mute_input (chan, ptt_signal); } #endif