summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-12-09 16:17:15 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-12-10 05:57:46 +0700
commit63be9da1908910b19fef190ae7d1070281c2dc11 (patch)
tree3abd2ff515c909cfdcfb8e5c9d1dbe4824917e63 /src
parent59debdcd073c9c703965ebed5f60fe9777f2cd6b (diff)
trx_toolkit/ctrl_if_bb.py: fix SETTA command handling
Since I8fd2a2ab7784b38bde5ebcfd0359b7e2cb53f5a7, SETTA command handling was broken, because the range limitation was removed together with argument parsing. Let's fix this. Change-Id: If582af3849359866de129504cc5b2dc6d64edbd5
Diffstat (limited to 'src')
-rw-r--r--src/target/trx_toolkit/ctrl_if_bb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/trx_toolkit/ctrl_if_bb.py b/src/target/trx_toolkit/ctrl_if_bb.py
index aaa12f1..785636b 100644
--- a/src/target/trx_toolkit/ctrl_if_bb.py
+++ b/src/target/trx_toolkit/ctrl_if_bb.py
@@ -134,7 +134,7 @@ class CTRLInterfaceBB(CTRLInterface):
log.debug("Recv SETTA cmd")
# Save to the BurstForwarder instance
- self.burst_fwd.ta = ta
+ self.burst_fwd.ta = int(request[1])
return 0
# Timing of Arrival simulation for Uplink