mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-14 17:57:28 -05:00
Direct all prints to STDERR
Direct all prints to STDERR Take 2
This commit is contained in:
@@ -83,7 +83,7 @@ processX2TDMAdata (dsd_opts * opts, dsd_state * state)
|
||||
k++;
|
||||
}
|
||||
cachbits[24] = 0;
|
||||
printf ("%s ", cachbits);
|
||||
fprintf (stderr,"%s ", cachbits);
|
||||
#endif
|
||||
|
||||
// current slot
|
||||
@@ -204,7 +204,7 @@ processX2TDMAdata (dsd_opts * opts, dsd_state * state)
|
||||
k++;
|
||||
}
|
||||
syncbits[48] = 0;
|
||||
printf ("%s ", syncbits);
|
||||
fprintf (stderr,"%s ", syncbits);
|
||||
#endif
|
||||
|
||||
if ((strcmp (sync, X2TDMA_BS_DATA_SYNC) == 0) || (strcmp (sync, X2TDMA_BS_DATA_SYNC) == 0))
|
||||
@@ -221,7 +221,7 @@ processX2TDMAdata (dsd_opts * opts, dsd_state * state)
|
||||
|
||||
if (opts->errorbars == 1)
|
||||
{
|
||||
printf ("%s %s ", state->slot0light, state->slot1light);
|
||||
fprintf (stderr,"%s %s ", state->slot0light, state->slot1light);
|
||||
}
|
||||
|
||||
// current slot second half, cach, next slot 1st half
|
||||
@@ -231,11 +231,11 @@ processX2TDMAdata (dsd_opts * opts, dsd_state * state)
|
||||
{
|
||||
if (strcmp (state->fsubtype, " ") == 0)
|
||||
{
|
||||
printf (" Unknown burst type: %s\n", bursttype);
|
||||
fprintf (stderr," Unknown burst type: %s\n", bursttype);
|
||||
}
|
||||
else
|
||||
{
|
||||
printf ("%s\n", state->fsubtype);
|
||||
fprintf (stderr,"%s\n", state->fsubtype);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user