diff options
author | Johannes Wegener | 2018-06-26 12:36:30 +0200 |
---|---|---|
committer | Johannes Wegener | 2018-06-26 12:36:30 +0200 |
commit | e4e6869c9d721860b8a2f42eb027515ed73fe8d4 (patch) | |
tree | ee9d33607b66a945e871f5e3232656f6e178f937 /beesat_boost.patch | |
download | aur-beesat-sdr-git.tar.gz |
init
Diffstat (limited to 'beesat_boost.patch')
-rw-r--r-- | beesat_boost.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/beesat_boost.patch b/beesat_boost.patch new file mode 100644 index 000000000000..6d5491c841a5 --- /dev/null +++ b/beesat_boost.patch @@ -0,0 +1,26 @@ +diff --git a/gr-tnc_nx/lib/tnc_b1_impl.cc b/gr-tnc_nx/lib/tnc_b1_impl.cc +index fee1619..52a5c6b 100644 +--- a/gr-tnc_nx/lib/tnc_b1_impl.cc ++++ b/gr-tnc_nx/lib/tnc_b1_impl.cc +@@ -85,7 +85,7 @@ namespace gr { + * TIMER HANDLER * + *****************/ + void tnc_b1_impl::handle_timeout(const boost::system::error_code& ec) { +- if (ec == 0) { ++ if (ec.value() == 0) { + std::cout << "TM Timeout" << std::endl; + message_port_pub(pmt::mp("Output"), g.out_ack(SAT_NOK)); + set_idle(); +diff --git a/gr-tnc_nx/lib/tnc_impl.cc b/gr-tnc_nx/lib/tnc_impl.cc +index a722006..ad073bd 100644 +--- a/gr-tnc_nx/lib/tnc_impl.cc ++++ b/gr-tnc_nx/lib/tnc_impl.cc +@@ -91,7 +91,7 @@ tnc_impl::~tnc_impl() { + * TIMEOUT HANDLER * + *******************/ + void tnc_impl::handle_timeout(const boost::system::error_code& ec) { +- if (ec == 0) { ++ if (ec.value() == 0) { + switch (p_state) { + + case wait_msg: |