add ysf to the receiver

This commit is contained in:
Jakob Ketterl
2016-11-27 01:29:17 +00:00
parent aa959cdc93
commit 89740b1a93
3 changed files with 10 additions and 2 deletions

View File

@ -91,6 +91,7 @@
<div class="openwebrx-button openwebrx-demodulator-button" onclick="demodulator_analog_replace('dmr');">DMR</div>
<div class="openwebrx-button openwebrx-demodulator-button" onclick="demodulator_analog_replace('dstar');">DStar</div>
<div class="openwebrx-button openwebrx-demodulator-button" onclick="demodulator_analog_replace('nxdn');">NXDN</div>
<div class="openwebrx-button openwebrx-demodulator-button" onclick="demodulator_analog_replace('ysf');">YSF</div>
</div>
<div class="openwebrx-panel-line">
<div title="Mute on/off" id="openwebrx-mute-off" class="openwebrx-button" onclick="toggleMute();"><img src="gfx/openwebrx-speaker.png" class="openwebrx-sliderbtn-img" id="openwebrx-mute-img"></div>

View File

@ -429,7 +429,7 @@ function demodulator_default_analog(offset_frequency,subtype)
this.low_cut=-4000;
this.high_cut=4000;
}
else if(subtype=="dmr")
else if(subtype=="dmr" || subtype=="ysf")
{
this.low_cut=-6500;
this.high_cut=6500;