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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Feb 28 18:05:57 UTC 2018


Harald Welte has submitted this change and it was merged.

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


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I721c87758f04a1962427341eb1b2d47cfdd3f780
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: fixeria/trx
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list