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