[PATCH] osmocom-bb[fixeria/trx]: fake_trx/burst_fwd.py: drop useless set_slot() method

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Wed Feb 28 17:20:47 UTC 2018


Review at  https://gerrit.osmocom.org/6998

fake_trx/burst_fwd.py: drop useless set_slot() method

Change-Id: I721c87758f04a1962427341eb1b2d47cfdd3f780
---
M src/target/fake_trx/burst_fwd.py
1 file changed, 0 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/98/6998/1

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 @@
 		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

-- 
To view, visit https://gerrit.osmocom.org/6998
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I721c87758f04a1962427341eb1b2d47cfdd3f780
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: fixeria/trx
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>


More information about the gerrit-log mailing list