aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpiotr <Piotr Krysik pkrysik@elka.pw.edu.pl>2014-04-24 10:29:38 +0200
committerpiotr <Piotr Krysik pkrysik@elka.pw.edu.pl>2014-04-24 10:29:38 +0200
commitda8a06668734fdbfb7d0b3c906c8d88efd256895 (patch)
treebf05a51b40d010f735454d503bcd378a33729dae /lib
parentf502e0f99bc53d8eee310b3f5139c9d63cfbcc7a (diff)
Little cleanups
Diffstat (limited to 'lib')
-rw-r--r--lib/get_ccch_bursts_impl.h2
-rw-r--r--lib/receiver_impl.cc3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/get_ccch_bursts_impl.h b/lib/get_ccch_bursts_impl.h
index 773a0a4..c0e7dd9 100644
--- a/lib/get_ccch_bursts_impl.h
+++ b/lib/get_ccch_bursts_impl.h
@@ -30,7 +30,7 @@ namespace gr {
class get_ccch_bursts_impl : public get_ccch_bursts
{
private:
- pmt::pmt_t d_msgs[4];
+ pmt::pmt_t d_bursts[4];
public:
get_ccch_bursts_impl();
~get_ccch_bursts_impl();
diff --git a/lib/receiver_impl.cc b/lib/receiver_impl.cc
index 49cf0f1..71a9494 100644
--- a/lib/receiver_impl.cc
+++ b/lib/receiver_impl.cc
@@ -687,8 +687,9 @@ inline void receiver_impl::mafi(const gr_complex * input, int nitems, gr_complex
while (ii < filter_length)
{
- if ((a + ii) >= nitems*d_OSR)
+ if ((a + ii) >= nitems*d_OSR){
break;
+ }
output[n] += input[a+ii] * filter[ii];
ii++;
}