diff options
author | Vasil Velichkov <vvvelichkov@gmail.com> | 2019-09-02 04:06:41 +0300 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@gmail.com> | 2021-05-03 07:14:00 +0200 |
commit | 46c90bec99fe3f2151450ffcc4d1353418c764e7 (patch) | |
tree | faec16b90fc0e1c7a58144e7129c461fee8d7086 /python/receiver/fcch_detector.py | |
parent | 333027f40632be2acb3864e6cc4abd12abe9fd6a (diff) |
Various python3 related changes
- Use relative import for grgsm's modules
- Convert map to list
- Remove the hier_block.py workaround as as gnuradio 3.7 is no longer
supported in this branch
Change-Id: I5ca8fd340823996e8c444aaf18ddacd85c92ab1c
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 81438e2..9b787c2 100644 --- a/python/receiver/fcch_detector.py +++ b/python/receiver/fcch_detector.py @@ -36,10 +36,10 @@ from gnuradio import gr from gnuradio.filter import firdes import grgsm -class fcch_detector(grgsm.hier_block): +class fcch_detector(gr.hier_block2): def __init__(self, OSR=4): - grgsm.hier_block.__init__( + gr.hier_block2.__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), |