commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 01/02: qtgui: fixed frequency scale for flo


From: git
Subject: [Commit-gnuradio] [gnuradio] 01/02: qtgui: fixed frequency scale for float frequency plots.
Date: Fri, 11 Apr 2014 16:56:24 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch maint
in repository gnuradio.

commit d087c4186e64bdea8c10a2ab3fad9f2474e9c818
Author: Tom Rondeau <address@hidden>
Date:   Fri Apr 11 11:47:58 2014 -0400

    qtgui: fixed frequency scale for float frequency plots.
    
    Was setting bandwidth to half what it should have. Tested QWT 5.2.0 - 6.1.0.
---
 gr-qtgui/lib/freq_sink_f_impl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gr-qtgui/lib/freq_sink_f_impl.cc b/gr-qtgui/lib/freq_sink_f_impl.cc
index b77e523..b2054bc 100644
--- a/gr-qtgui/lib/freq_sink_f_impl.cc
+++ b/gr-qtgui/lib/freq_sink_f_impl.cc
@@ -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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]