mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-19 20:27:26 -05:00
@@ -144,7 +144,9 @@ void Process34Data(dsd_opts * opts, dsd_state * state, unsigned char tdibits[98]
|
|||||||
//hard code filename override for those wanting to use other software
|
//hard code filename override for those wanting to use other software
|
||||||
//pFile = fopen("DSDPlus.LRRP", "a");
|
//pFile = fopen("DSDPlus.LRRP", "a");
|
||||||
|
|
||||||
fprintf (pFile, "%s\t %s\t", getDateL(), getTimeL()); //current timestamp, may find a way to only add this IF no included timestamp in LRRP data?
|
//seperate these two values since they cause issues with garbage writing to files in some environments (cygwin)
|
||||||
|
fprintf (pFile, "%s\t ", getDateL() ); //current date, may find a way to only add this IF no included timestamp in LRRP data?
|
||||||
|
fprintf (pFile, "%s\t ", getTimeL()) ; //current timestamp, may find a way to only add this IF no included timestamp in LRRP data?
|
||||||
fprintf (pFile, "%08lld\t", state->dmr_lrrp_source[state->currentslot]); //source address from data header
|
fprintf (pFile, "%08lld\t", state->dmr_lrrp_source[state->currentslot]); //source address from data header
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1216,8 +1218,9 @@ void Process12Data(dsd_opts * opts, dsd_state * state, uint8_t info[196], uint8_
|
|||||||
//hard code filename override for those wanting to use other software
|
//hard code filename override for those wanting to use other software
|
||||||
//pFile = fopen("DSDPlus.LRRP", "a");
|
//pFile = fopen("DSDPlus.LRRP", "a");
|
||||||
|
|
||||||
|
//seperate these two values since they cause issues with garbage writing to files in some environments (cygwin)
|
||||||
fprintf (pFile, "%s\t %s\t", getDateL(), getTimeL()); //current timestamp, may find a way to only add this IF no included timestamp in LRRP data?
|
fprintf (pFile, "%s\t ", getDateL() ); //current date, may find a way to only add this IF no included timestamp in LRRP data?
|
||||||
|
fprintf (pFile, "%s\t ", getTimeL() ); //current timestamp, may find a way to only add this IF no included timestamp in LRRP data?
|
||||||
fprintf (pFile, "%08lld\t", state->dmr_lrrp_source[state->currentslot]); //source address from data header
|
fprintf (pFile, "%08lld\t", state->dmr_lrrp_source[state->currentslot]); //source address from data header
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -931,7 +931,7 @@ main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
opts.dmr_mute_encL = 0;
|
opts.dmr_mute_encL = 0;
|
||||||
opts.dmr_mute_encR = 0;
|
opts.dmr_mute_encR = 0;
|
||||||
if (state.K == 1)
|
if (state.K == 0)
|
||||||
{
|
{
|
||||||
opts.dmr_mute_encL = 1;
|
opts.dmr_mute_encL = 1;
|
||||||
opts.dmr_mute_encR = 1;
|
opts.dmr_mute_encR = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user