mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
#1899 radio reference API version 18 and update site editor to use new 'tdma_cc' flag to distinguish P25 Phase 2 FDMA vs TDMA control channel sites. (#1900)
Co-authored-by: Dennis Sheirer <dsheirer@github.com>
This commit is contained in:
@@ -149,7 +149,7 @@ public class EnrichedSite implements Comparable<EnrichedSite>
|
||||
{
|
||||
if(mSite != null)
|
||||
{
|
||||
return mSite.getDescription();
|
||||
return mSite.getDescription() + (mSite.getTdmaControlChannel() > 0 ? " (TDMA CC)" : "");
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
@@ -379,7 +379,8 @@ public class SiteEditor extends GridPane
|
||||
getP25ControlLabel().setVisible(true);
|
||||
getTdmaControlToggleButton().setVisible(true);
|
||||
getFdmaControlToggleButton().setVisible(true);
|
||||
if(site.getSite().getModulation() != null && site.getSite().getModulation().contains(PHASE_2_TDMA_MODULATION))
|
||||
|
||||
if(site.getSite().getTdmaControlChannel() > 0) //Value is 0 for FDMA or 1 for TDMA
|
||||
{
|
||||
getTdmaControlToggleButton().setSelected(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user