Additional NXDN STDERR Printing Cleanup

This commit is contained in:
lwvmobile
2022-04-02 15:58:21 -04:00
committed by GitHub
parent edf465d03c
commit 9b554dfd93
3 changed files with 7 additions and 7 deletions

View File

@@ -67,11 +67,11 @@ void processNXDNData (dsd_opts * opts, dsd_state * state)
if(CrcIsGood) if(CrcIsGood)
{ {
fprintf (stderr, "RAN=%02d - Part %d/4 ", RAN, PartOfFrame + 1); fprintf (stderr, "RAN=%02d - Part %d/4 ", RAN, PartOfFrame + 1);
fprintf (stderr, " (OK) - "); fprintf (stderr, "(CRC OK) ");
state->nxdn_last_ran = RAN; //disable, try to grab this in voice instead state->nxdn_last_ran = RAN; //disable, try to grab this in voice instead
} }
else fprintf (stderr, "(CRC ERR) - "); else fprintf (stderr, "(CRC ERR) ");
/* Decode the SACCH only when all 4 voice frame /* Decode the SACCH only when all 4 voice frame

View File

@@ -770,10 +770,10 @@ void NXDN_decode_VCALL(dsd_opts * opts, dsd_state * state, uint8_t * Message)
state->nxdn_key = (KeyID & 0xFF); state->nxdn_key = (KeyID & 0xFF);
state->nxdn_cipher_type = CipherType; state->nxdn_cipher_type = CipherType;
} }
fprintf(stderr, " (OK) - "); fprintf(stderr, "(CRC OK) ");
} }
//fprintf(stderr, " (OK) - "); //fprintf(stderr, " (OK) - ");
else fprintf(stderr, "(CRC ERR) - "); else fprintf(stderr, "(CRC ERR) ");
//fprintf(stderr, "\nVCALL = "); //fprintf(stderr, "\nVCALL = ");

View File

@@ -81,10 +81,10 @@ void processNXDNVoice (dsd_opts * opts, dsd_state * state)
if(CrcIsGood) if(CrcIsGood)
{ {
fprintf (stderr, "RAN=%02d - Part %d/4 ", RAN, PartOfFrame + 1); fprintf (stderr, "RAN=%02d - Part %d/4 ", RAN, PartOfFrame + 1);
fprintf (stderr, " (OK) - "); fprintf (stderr, "(CRC OK) ");
state->nxdn_last_ran = RAN; //disable, try to grab this in voice instead state->nxdn_last_ran = RAN; //disable, try to grab this in voice instead
} }
else fprintf(stderr, "(CRC ERR) - "); else fprintf(stderr, "(CRC ERR) ");
/* Determine the current part of superframe /* Determine the current part of superframe
@@ -106,7 +106,7 @@ void processNXDNVoice (dsd_opts * opts, dsd_state * state)
if (opts->errorbars == 1) if (opts->errorbars == 1)
{ {
fprintf(stderr, "e:"); //fprintf(stderr, "e:");
} }
/* Start pseudo-random NXDN sequence after /* Start pseudo-random NXDN sequence after