Skip to content

Commit

Permalink
Remove unnecessary GNURadio version checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
geezer85 committed Jun 5, 2022
1 parent c66888e commit c202d5d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions plugins/openmhz_uploader/openmhz_uploader.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#include <curl/curl.h>
#include <time.h>
#if GNURADIO_VERSION >= 0x030a00
#include <iomanip>
#endif
#include <vector>

#include "../../trunk-recorder/call_concluder/call_concluder.h"
Expand Down
2 changes: 0 additions & 2 deletions plugins/rdioscanner_uploader/rdioscanner_uploader.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#include <curl/curl.h>
#include <time.h>
#if GNURADIO_VERSION >= 0x030a00
#include <iomanip>
#endif
#include <vector>

#include "../../trunk-recorder/call_concluder/call_concluder.h"
Expand Down
5 changes: 2 additions & 3 deletions trunk-recorder/recorders/debug_recorder_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
#include <boost/shared_ptr.hpp>
#if GNURADIO_VERSION < 0x030a00
#include <gnuradio/blocks/udp_sink.h>
#endif
#if GNURADIO_VERSION >= 0x030a00
#else
#include <gnuradio/network/udp_sink.h>
#endif

Expand Down Expand Up @@ -147,7 +146,7 @@ class debug_recorder_impl : public debug_recorder {
gr::analog::sig_source_c::sptr bfo;
gr::blocks::multiply_cc::sptr mixer;
#if GNURADIO_VERSION >= 0x030a00
gr::blocks::network::udp_sink::sptr udp_sink
gr::network::udp_sink::sptr udp_sink
#else
gr::blocks::udp_sink::sptr udp_sink;
#endif
Expand Down

0 comments on commit c202d5d

Please sign in to comment.