mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-17 03:07:24 -05:00
NXDN: Add Cmake option (-DNOS=ON) to switch back to old NXDN sync with pos and inv polarity;
There is bound to be at least one person who will complain, or listens to the harmonic and not the signal, or has a mixed bag of things and doesn't want to specify polarity;
This commit is contained in:
@@ -1490,7 +1490,11 @@
|
||||
printf (" -xx Expect non-inverted X2-TDMA signal\n");
|
||||
printf (" -xr Expect inverted DMR signal\n");
|
||||
printf (" -xd Expect inverted ICOM dPMR signal\n");
|
||||
#ifdef NXDN_OLD_SYNC
|
||||
//
|
||||
#else
|
||||
printf (" -xn Expect inverted NXDN/DCR/IDAS signal\n");
|
||||
#endif
|
||||
printf ("\n");
|
||||
printf (" * denotes frame types that cannot be auto-detected.\n");
|
||||
printf (" ** Phase 2 Single Frequency may require user to manually set WACN/SYSID/CC parameters if MAC_SIGNAL not present.\n");
|
||||
@@ -2759,7 +2763,11 @@
|
||||
sprintf (opts.output_name, "NXDN48");
|
||||
fprintf (stderr,"Setting symbol rate to 2400 / second\n");
|
||||
fprintf (stderr,"Decoding only NXDN 4800 baud frames.\n");
|
||||
#ifdef NXDN_OLD_SYNC
|
||||
//
|
||||
#else
|
||||
fprintf(stderr, "Notice: NXDN autodetect polarity disabled. \n Use -xn option if Inverted Signal expected.\n");
|
||||
#endif
|
||||
}
|
||||
else if (optarg[0] == 'y')
|
||||
{
|
||||
@@ -3084,7 +3092,11 @@
|
||||
else if (optarg[0] == 'n')
|
||||
{
|
||||
opts.inverted_nxdn = 1;
|
||||
#ifdef NXDN_OLD_SYNC
|
||||
//
|
||||
#else
|
||||
fprintf (stderr, "Expecting inverted NXDN/DCR/IDAS signals.\n");
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user