Change in osmocom-bb[master]: trx_toolkit/clck_gen.py: fix TDMA clock counter wrapping

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/.

pespin gerrit-no-reply at lists.osmocom.org
Mon Jul 13 08:43:20 UTC 2020


pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/19225 )

Change subject: trx_toolkit/clck_gen.py: fix TDMA clock counter wrapping
......................................................................


Patch Set 1: Code-Review+1

(1 comment)

https://gerrit.osmocom.org/c/osmocom-bb/+/19225/1/src/target/trx_toolkit/clck_gen.py 
File src/target/trx_toolkit/clck_gen.py:

https://gerrit.osmocom.org/c/osmocom-bb/+/19225/1/src/target/trx_toolkit/clck_gen.py@96 
PS1, Line 96: 		if self.clck_src >= GSM_HYPERFRAME:
You can simply do self.clck_src %= GSM_HYPERFRAME unconditionally and get rid of the if branch.



-- 
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/19225
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I157447c7610402f6d62d2b74c9f04fcaa0bc1724
Gerrit-Change-Number: 19225
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Mon, 13 Jul 2020 08:43:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200713/e5c42411/attachment.htm>


More information about the gerrit-log mailing list