trx_toolkit/transceiver.py: add init logging message

Change-Id: I9a8b327748fbfcbae438cb531cd0b2767b6ca4dd
This commit is contained in:
Vadim Yanitskiy 2019-01-14 07:58:06 +07:00
parent 95025a2389
commit 21d99e65fb
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ class Transceiver:
self.base_port = base_port
self.child_idx = child_idx
log.info("Init transceiver '%s'" % self)
# Child transceiver cannot have its own clock
if clck_gen is not None and child_idx > 0:
raise TypeError("Child transceiver cannot have its own clock")