mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-16 18:57:24 -05:00
Late Nite FS Testing II; #123
This commit is contained in:
@@ -1365,7 +1365,7 @@ getFrameSync (dsd_opts * opts, dsd_state * state)
|
|||||||
|
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
state->carrier = 1;
|
// state->carrier = 1;
|
||||||
state->offset = synctest_pos;
|
state->offset = synctest_pos;
|
||||||
state->max = ((state->max) + lmax) / 2;
|
state->max = ((state->max) + lmax) / 2;
|
||||||
state->min = ((state->min) + lmin) / 2;
|
state->min = ((state->min) + lmin) / 2;
|
||||||
@@ -1386,33 +1386,33 @@ getFrameSync (dsd_opts * opts, dsd_state * state)
|
|||||||
//Disabling Inverted Sync for testing -- using SDR++ or RTL Input, I only ever see positive sync pattern
|
//Disabling Inverted Sync for testing -- using SDR++ or RTL Input, I only ever see positive sync pattern
|
||||||
//This will also further reduce any FSW false positives, but at the cost of inverted sync
|
//This will also further reduce any FSW false positives, but at the cost of inverted sync
|
||||||
|
|
||||||
// else if (
|
else if (
|
||||||
|
|
||||||
// (strcmp (synctest10, "1313113313") == 0 )
|
(strcmp (synctest10, "1313113313") == 0 )
|
||||||
// || (strcmp (synctest10, "1113113313") == 0 )
|
|| (strcmp (synctest10, "1113113313") == 0 )
|
||||||
// || (strcmp (synctest10, "1313113333") == 0 )
|
|| (strcmp (synctest10, "1313113333") == 0 )
|
||||||
// || (strcmp (synctest10, "1113113333") == 0 )
|
|| (strcmp (synctest10, "1113113333") == 0 )
|
||||||
// || (strcmp (synctest10, "1313133313") == 0 ) //
|
|| (strcmp (synctest10, "1313133313") == 0 ) //
|
||||||
|
|
||||||
// )
|
)
|
||||||
// {
|
{
|
||||||
// // state->carrier = 1;
|
// state->carrier = 1;
|
||||||
// state->offset = synctest_pos;
|
state->offset = synctest_pos;
|
||||||
// state->max = ((state->max) + lmax) / 2;
|
state->max = ((state->max) + lmax) / 2;
|
||||||
// state->min = ((state->min) + lmin) / 2;
|
state->min = ((state->min) + lmin) / 2;
|
||||||
// // state->last_cc_sync_time = time(NULL);
|
// state->last_cc_sync_time = time(NULL);
|
||||||
|
|
||||||
// if (state->lastsynctype == 29)
|
if (state->lastsynctype == 29)
|
||||||
// {
|
{
|
||||||
// state->last_cc_sync_time = time(NULL);
|
state->last_cc_sync_time = time(NULL);
|
||||||
// // if (opts->payload == 1)
|
// if (opts->payload == 1)
|
||||||
// // fprintf (stderr, "\n -FSW ");
|
// fprintf (stderr, "\n -FSW ");
|
||||||
// // if (opts->payload == 1)
|
// if (opts->payload == 1)
|
||||||
// // fprintf (stderr, " %s \n", synctest10);
|
// fprintf (stderr, " %s \n", synctest10);
|
||||||
// return (29);
|
return (29);
|
||||||
// }
|
}
|
||||||
// state->lastsynctype = 29;
|
state->lastsynctype = 29;
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#else //use previously 'stable' NXDN Sync pattern detection
|
#else //use previously 'stable' NXDN Sync pattern detection
|
||||||
|
|||||||
@@ -1358,7 +1358,7 @@ main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef AERO_BUILD
|
#ifdef AERO_BUILD
|
||||||
fprintf (stderr, "Build Version: v2.0.1-25 Win32 \n");
|
fprintf (stderr, "Build Version: v2.0.1-26 Win32 \n");
|
||||||
#else
|
#else
|
||||||
fprintf (stderr, "Build Version: %s \n", GIT_TAG);
|
fprintf (stderr, "Build Version: %s \n", GIT_TAG);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -2072,7 +2072,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
|||||||
if (opts->ncurses_compact == 1)
|
if (opts->ncurses_compact == 1)
|
||||||
{
|
{
|
||||||
printw ("------------------------------------------------------------------------------\n");
|
printw ("------------------------------------------------------------------------------\n");
|
||||||
printw ("| Digital Speech Decoder: Florida Man Edition - Aero %s \n", "v2.0.1-25 Win32");
|
printw ("| Digital Speech Decoder: Florida Man Edition - Aero %s \n", "v2.0.1-26 Win32");
|
||||||
printw ("------------------------------------------------------------------------------\n");
|
printw ("------------------------------------------------------------------------------\n");
|
||||||
}
|
}
|
||||||
#elif LIMAZULUTWEAKS
|
#elif LIMAZULUTWEAKS
|
||||||
@@ -2101,7 +2101,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
|||||||
if (i == 4) printw (" MBElib %s", versionstr);
|
if (i == 4) printw (" MBElib %s", versionstr);
|
||||||
#ifdef AERO_BUILD
|
#ifdef AERO_BUILD
|
||||||
if (i == 5) printw (" %s ", "Aero Win32");
|
if (i == 5) printw (" %s ", "Aero Win32");
|
||||||
if (i == 6) printw (" v2.0.1-25 Win32 \n");
|
if (i == 6) printw (" v2.0.1-26 Win32 \n");
|
||||||
#else
|
#else
|
||||||
if (i == 5) printw (" %s ", "zDEV BUILD");
|
if (i == 5) printw (" %s ", "zDEV BUILD");
|
||||||
// if (i == 5) printw (" %s ", "MAIN BUILD");
|
// if (i == 5) printw (" %s ", "MAIN BUILD");
|
||||||
|
|||||||
Reference in New Issue
Block a user