aboutsummaryrefslogtreecommitdiffstats
path: root/python/trx/ctrl_if_bb.py
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-10-17 06:52:01 +0700
committerPiotr Krysik <ptrkrysik@users.noreply.github.com>2017-11-05 17:33:26 +0100
commit873e44e68d188b5c26621b8ee8fd0c33bf9bd29d (patch)
treec535e21b6562918b240f9a022e7d41ff4cbe7613 /python/trx/ctrl_if_bb.py
parent52917b1034051d97b29db8b024de1603d58c306c (diff)
python/trx: follow GNU Radio class naming conventions
Diffstat (limited to 'python/trx/ctrl_if_bb.py')
-rw-r--r--python/trx/ctrl_if_bb.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/trx/ctrl_if_bb.py b/python/trx/ctrl_if_bb.py
index b0d54f9..b08f62c 100644
--- a/python/trx/ctrl_if_bb.py
+++ b/python/trx/ctrl_if_bb.py
@@ -22,12 +22,12 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-from ctrl_if import CTRLInterface
+from ctrl_if import ctrl_if
-class CTRLInterfaceBB(CTRLInterface):
+class ctrl_if_bb(ctrl_if):
def __init__(self, remote_addr, remote_port, bind_port, tb, pm):
print("[i] Init CTRL interface")
- CTRLInterface.__init__(self, remote_addr, remote_port, bind_port)
+ ctrl_if.__init__(self, remote_addr, remote_port, bind_port)
# Set link to the follow graph (top block)
self.tb = tb
@@ -36,7 +36,7 @@ class CTRLInterfaceBB(CTRLInterface):
def shutdown(self):
print("[i] Shutdown CTRL interface")
- CTRLInterface.shutdown(self)
+ ctrl_if.shutdown(self)
def parse_cmd(self, request):
# Power control