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:
lwvmobile
2026-02-05 16:53:44 -05:00
parent 53a256bee8
commit 12012a9eee
3 changed files with 63 additions and 42 deletions

View File

@@ -88,6 +88,13 @@ if (DCR)
add_definitions(-DJPNDCR_DECODE)
endif ()
#use cmake option -DNOS=ON to enable older NXDN sync w/ pos and inv polarity, disable newer seperated (disabled by default)
option(NOS
"Build with Old NXDN Sync (pos and inv polarity) Enabled" OFF)
if (NOS)
add_definitions(-DNXDN_OLD_SYNC)
endif ()
#use cmake option -DSID=ON to enable P25p1 Soft ID decoding -- Experimental
option(SID
"Build with P25p1 LSD/Soft ID Enabled" OFF)