Fixed offset frequency display on start.

This commit is contained in:
ha7ilm 2016-03-11 10:01:07 +01:00
parent af09300cc1
commit e11ccbfb1f

View File

@ -1481,6 +1481,7 @@ function audio_init()
if(starting_offset_frequency) if(starting_offset_frequency)
{ {
demodulators[0].offset_frequency = starting_offset_frequency; demodulators[0].offset_frequency = starting_offset_frequency;
e("webrx-actual-freq").innerHTML=format_frequency("{x} MHz",center_freq+starting_offset_frequency,1e6,4);
demodulators[0].set(); demodulators[0].set();
mkscale(); mkscale();
} }