Minor Code Tweaks

Minor Code Tweaks
This commit is contained in:
lwvmobile
2022-06-09 16:58:45 -04:00
committed by GitHub
parent cbd3d98151
commit 357f59b290
2 changed files with 9 additions and 9 deletions

View File

@@ -186,9 +186,9 @@ processMbeFrame (dsd_opts * opts, dsd_state * state, char imbe_fr[8][23], char a
state->errs2 = state->errs;
mbe_demodulateAmbe3600x2450Data (ambe_fr);
state->errs2 += mbe_eccAmbe3600x2450Data (ambe_fr, ambe_d);
//
//F
//
//
//F
//
if (state->K > 0 && state->dmr_so & 0x40 && state->payload_keyid == 0) //
{
k = BP[state->K];
@@ -220,9 +220,9 @@ processMbeFrame (dsd_opts * opts, dsd_state * state, char imbe_fr[8][23], char a
state->errs2R = state->errsR;
mbe_demodulateAmbe3600x2450Data (ambe_fr);
state->errs2R += mbe_eccAmbe3600x2450Data (ambe_fr, ambe_d);
//
//G
//
//
//G
//
if (state->K > 0 && state->dmr_soR & 0x40 && state->payload_keyidR == 0) //
{
k = BP[state->K];
@@ -233,7 +233,7 @@ processMbeFrame (dsd_opts * opts, dsd_state * state, char imbe_fr[8][23], char a
ambe_d[j] ^= x;
}
}
//
//
//E
//
mbe_processAmbe2450Dataf (state->audio_out_temp_bufR, &state->errsR, &state->errs2R, state->err_strR,

View File

@@ -143,9 +143,9 @@ void processNXDNVoice (dsd_opts * opts, dsd_state * state)
y++;
z++;
}
if (opts->payload == 1)
if (opts->payload == 1 && opts->dmr_stereo == 1)
{
//fprintf(stderr, "\n");
fprintf(stderr, "\n");
}
processMbeFrame (opts, state, NULL, ambe_fr, NULL);