Skip to content

Commit

Permalink
qtgui: fixed frequency scale for float frequency plots.
Browse files Browse the repository at this point in the history
Was setting bandwidth to half what it should have. Tested QWT 5.2.0 - 6.1.0.
  • Loading branch information
trondeau committed Apr 11, 2014
1 parent b1855f7 commit d087c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gr-qtgui/lib/freq_sink_f_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ namespace gr {
d_main_gui = new FreqDisplayForm(d_nconnections, d_parent);
set_fft_window(d_wintype);
set_fft_size(d_fftsize);
set_frequency_range(d_center_freq, d_bandwidth/2.0);
set_frequency_range(d_center_freq, d_bandwidth);

// initialize update time to 10 times a second
set_update_time(0.1);
Expand Down

0 comments on commit d087c41

Please sign in to comment.