diff options
author | Tom Rondeau <tom@trondeau.com> | 2014-07-07 12:18:00 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-07-07 12:18:00 -0400 |
commit | 597b93798a804cde1783d6d2ab53b348d57c44cd (patch) | |
tree | b65e73bb0de634ff5d209b15971ebdabf369a45c /gr-blocks/lib/ctrlport_probe2_b_impl.cc | |
parent | 1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff) |
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).
Diffstat (limited to 'gr-blocks/lib/ctrlport_probe2_b_impl.cc')
-rw-r--r-- | gr-blocks/lib/ctrlport_probe2_b_impl.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/lib/ctrlport_probe2_b_impl.cc b/gr-blocks/lib/ctrlport_probe2_b_impl.cc index 74c2980a7a..e6e2570ea6 100644 --- a/gr-blocks/lib/ctrlport_probe2_b_impl.cc +++ b/gr-blocks/lib/ctrlport_probe2_b_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; @@ -121,14 +121,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; } @@ -140,7 +140,7 @@ namespace gr { d_rpc_vars.push_back( rpcbasic_sptr(new rpcbasic_register_get<ctrlport_probe2_b, std::vector<signed char> >( alias(), d_id.c_str(), &ctrlport_probe2_b::get, - pmt::mp(-128), pmt::mp(127), pmt::mp(0), + pmt::mp(-128), pmt::mp(127), pmt::mp(0), "volts", d_desc.c_str(), RPC_PRIVLVL_MIN, d_disp_mask))); |