kirr has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/40074?usp=email )
Change subject: trx_toolkit/data_msg: Remove burst from *Msg constructor arguments ......................................................................
trx_toolkit/data_msg: Remove burst from *Msg constructor arguments
Grepping through whole codebase does not reveal any place which invokes *Msg(burst=...). Sonn we will add type to burst and it will be different types for TxMsg and RxMsg.
Adjust *Msg signature not to accept any burst argument as a preparatory step for that.
Change-Id: I189956fdc0591ec64c09d4c7e1e3659dfc630fc0 --- M src/target/trx_toolkit/data_msg.pyx 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/74/40074/1
diff --git a/src/target/trx_toolkit/data_msg.pyx b/src/target/trx_toolkit/data_msg.pyx index ccbdd71..4b59fce 100644 --- a/src/target/trx_toolkit/data_msg.pyx +++ b/src/target/trx_toolkit/data_msg.pyx @@ -77,8 +77,8 @@ CHDR_VERSION_MAX = 0b1111 KNOWN_VERSIONS = tuple(range(KNOWN_VERSION_MAX+1))
- def __init__(self, fn = None, tn = None, burst = None, ver = 0): - self.burst = burst # bytes|bytearray for ubit, array[b] for sbit, array[B] for usbit + def __init__(self, fn = None, tn = None, ver = 0): + self.burst = None # bytes|bytearray for ubit, array[b] for sbit, array[B] for usbit self.ver = ver self.fn = fn self.tn = tn