diff options
author | Piotr Krysik <ptrkrysik@gmail.com> | 2016-01-06 22:21:09 +0100 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@gmail.com> | 2016-01-06 22:21:09 +0100 |
commit | 8715da0893b5349f9c2d542807d5f5cd835262f4 (patch) | |
tree | b6876c4065790667b2fb632b57d85d1bdff8bd9e /python/receiver/fcch_detector.py | |
parent | e3b652ddf393ab6d6d31131b461ca8820379bdcd (diff) |
Fixed all hierarchical blocks in the project
by adding a hier_block class that solves incompatibility between GNU Radio >=3.7.9 and <=3.7.8
and inheriting all hierarchical blocks from it.
This commit fixes #135
Diffstat (limited to 'python/receiver/fcch_detector.py')
-rw-r--r-- | python/receiver/fcch_detector.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/receiver/fcch_detector.py b/python/receiver/fcch_detector.py index 70a3459..2f2a4ab 100644 --- a/python/receiver/fcch_detector.py +++ b/python/receiver/fcch_detector.py @@ -15,10 +15,10 @@ from gnuradio import gr from gnuradio.filter import firdes import grgsm -class fcch_detector(gr.hier_block2): +class fcch_detector(grgsm.hier_block): def __init__(self, OSR=4): - gr.hier_block2.__init__( + grgsm.hier_block.__init__( self, "FCCH bursts detector", gr.io_signature(1, 1, gr.sizeof_gr_complex*1), gr.io_signature(1, 1, gr.sizeof_gr_complex*1), |