From 3bb8a5608f01093b5f49124e2ca7da06669d2fdd Mon Sep 17 00:00:00 2001 From: lwvmobile <59371473+lwvmobile@users.noreply.github.com> Date: Fri, 11 Feb 2022 18:40:04 -0500 Subject: [PATCH] NXDN Detection Bug Had to fix line 644 with this Had wrong detection type else if ((strncmperr (synctest18, INV_NXDN_BS_VOICE_SYNC, 18, 1) == 0) || (strncmperr (synctest18, INV_NXDN_MS_VOICE_SYNC, 18, 1) == 0)) //supposed to be voice, not data? --- src/dsd_frame_sync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dsd_frame_sync.c b/src/dsd_frame_sync.c index 5cdf374..61ccb29 100644 --- a/src/dsd_frame_sync.c +++ b/src/dsd_frame_sync.c @@ -641,7 +641,8 @@ getFrameSync (dsd_opts * opts, dsd_state * state) } } //else if ((strcmp (synctest18, INV_NXDN_BS_VOICE_SYNC) == 0) || (strcmp (synctest18, INV_NXDN_MS_VOICE_SYNC) == 0)) - else if ((strncmperr (synctest18, NXDN_BS_DATA_SYNC, 18, 1) == 0) || (strncmperr (synctest18, NXDN_MS_DATA_SYNC, 18, 1) == 0)) + //else if ((strncmperr (synctest18, NXDN_BS_DATA_SYNC, 18, 1) == 0) || (strncmperr (synctest18, NXDN_MS_DATA_SYNC, 18, 1) == 0)) + else if ((strncmperr (synctest18, INV_NXDN_BS_VOICE_SYNC, 18, 1) == 0) || (strncmperr (synctest18, INV_NXDN_MS_VOICE_SYNC, 18, 1) == 0)) //supposed to be voice, not data? { now = time(NULL); //here, or down more if ((state->lastsynctype == 9) || (state->lastsynctype == 17))