summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-02-28 18:30:16 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-02-28 22:33:35 +0700
commitcbd3d76df9d7e78f7f2010a6cf1c12279fe6acb3 (patch)
tree2fc5c01a5164ee3fc90e546851aa1f063c24efc1
parent7881fd6001273692d87f18c05e6592232b732b40 (diff)
fake_trx/burst_fwd.py: drop useless set_slot() method
-rw-r--r--src/target/fake_trx/burst_fwd.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/target/fake_trx/burst_fwd.py b/src/target/fake_trx/burst_fwd.py
index 663f499..db0b05b 100644
--- a/src/target/fake_trx/burst_fwd.py
+++ b/src/target/fake_trx/burst_fwd.py
@@ -57,12 +57,6 @@ class BurstForwarder:
self.toa_min = self.TOA_RAND_BASE - self.TOA_RAND_TRESHOLD
self.toa_max = self.TOA_RAND_BASE + self.TOA_RAND_TRESHOLD
- def set_slot(self, ts):
- if ts > 0 and ts < 8:
- self.ts_pass = ts
- else:
- raise ValueError("Incorrect index for timeslot filter")
-
# Converts a L12TRX message to TRX2L1 message
def transform_msg(self, msg_raw):
# Attempt to parse a message