mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-08 09:36:02 -05:00
37 lines
577 B
C
37 lines
577 B
C
#include "dsd.h"
|
|
|
|
void
|
|
processNXDNData (dsd_opts * opts, dsd_state * state)
|
|
{
|
|
int i, dibit;
|
|
|
|
if (opts->errorbars == 1)
|
|
{
|
|
fprintf(stderr, "DATA ");
|
|
}
|
|
|
|
for (i = 0; i < 30; i++)
|
|
{
|
|
dibit = getDibit (opts, state);
|
|
#ifdef NXDN_DUMP
|
|
fprintf(stderr, "%c", dibit + 48);
|
|
#endif
|
|
}
|
|
#ifdef NXDN_DUMP
|
|
fprintf(stderr, " ");
|
|
#endif
|
|
|
|
for (i = 0; i < 144; i++)
|
|
{
|
|
dibit = getDibit (opts, state);
|
|
#ifdef NXDN_DUMP
|
|
fprintf(stderr, "%c", dibit + 48);
|
|
#endif
|
|
}
|
|
|
|
if (opts->errorbars == 1)
|
|
{
|
|
fprintf(stderr, "\n");
|
|
}
|
|
}
|