trx_toolkit/trxd_proto.py: fix missing field name for codec.Spare

Change-Id: I110dbcebf86cf978f2de7275a91c48b999fade32
Fixes: I482f72fd9305c51f43a0339d03904fb693d90ac9
Related: OS#4006, SYS#4895
This commit is contained in:
Vadim Yanitskiy 2021-04-28 22:53:41 +02:00
parent 8fc13352aa
commit a2618b789a
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ class PDUv2Tx(codec.Envelope):
MTS(),
codec.Uint('pwr'),
codec.Int('scpir'),
codec.Spare(len=3),
codec.Spare('spare', len=3),
BurstBits('hard-bits'),
)
@ -171,7 +171,7 @@ class PDUv2Tx(codec.Envelope):
MTS(),
codec.Uint('pwr'),
codec.Int('scpir'),
codec.Spare(len=3),
codec.Spare('spare', len=3),
codec.Uint32BE('fn'),
BurstBits('hard-bits'),
codec.Sequence(item=BPDU()).f('bpdu'),