From 597b93798a804cde1783d6d2ab53b348d57c44cd Mon Sep 17 00:00:00 2001 From: Tom Rondeau <tom@trondeau.com> Date: Mon, 7 Jul 2014 12:18:00 -0400 Subject: Removing trailing/extra whitespaces before release. We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace). --- gr-fft/lib/ctrlport_probe_psd_impl.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gr-fft/lib/ctrlport_probe_psd_impl.cc') diff --git a/gr-fft/lib/ctrlport_probe_psd_impl.cc b/gr-fft/lib/ctrlport_probe_psd_impl.cc index b517fa3ac4..a12341e931 100644 --- a/gr-fft/lib/ctrlport_probe_psd_impl.cc +++ b/gr-fft/lib/ctrlport_probe_psd_impl.cc @@ -62,7 +62,7 @@ namespace gr { for(unsigned i = 0; i < ninputs; i++) ninput_items_required[i] = d_len; } - + // boost::shared_mutex mutex_buffer; // mutable boost::mutex mutex_notify; // boost::condition_variable condition_buffer_ready; @@ -84,7 +84,7 @@ namespace gr { std::vector<gr_complex> buf_copy; buf_copy.resize(d_len); - + gr_complex* out = d_fft.get_outbuf(); for(size_t i=0; i<d_len; i++){ size_t idx = (i + d_len/2)%d_len; @@ -131,14 +131,14 @@ namespace gr { for(int i = 0; i < num_copy; i++) { d_buffer.push_back(in[i]); } - + // notify the waiting get() if we fill up the buffer if(d_buffer.size() == d_len) { condition_buffer_ready.notify_one(); } } mutex_buffer.unlock(); - + return noutput_items; } @@ -152,7 +152,7 @@ namespace gr { alias(), d_id.c_str(), &ctrlport_probe_psd::get, pmt::make_c32vector(0,-2), pmt::make_c32vector(0,2), - pmt::make_c32vector(0,0), + pmt::make_c32vector(0,0), "dB", d_desc.c_str(), RPC_PRIVLVL_MIN, DISPXY | DISPOPTSCATTER))); -- cgit v1.2.3