Change in osmo-bts[master]: cosmetic: bts-trx: document variable and fix typo in ms_power_diff()

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
Fri Oct 25 13:08:23 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/15876 )


Change subject: cosmetic: bts-trx: document variable and fix typo in ms_power_diff()
......................................................................

cosmetic: bts-trx: document variable and fix typo in ms_power_diff()

Change-Id: Ia4bc291c8213dd6cfe3b13a99b3108532b6907b1
---
M src/osmo-bts-trx/loops.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/76/15876/1

diff --git a/src/osmo-bts-trx/loops.c b/src/osmo-bts-trx/loops.c
index 3fa2b3b..2dc6640 100644
--- a/src/osmo-bts-trx/loops.c
+++ b/src/osmo-bts-trx/loops.c
@@ -45,9 +45,9 @@
 	struct gsm_bts_trx *trx = lchan->ts->trx;
 	enum gsm_band band = trx->bts->band;
 	uint16_t arfcn = trx->arfcn;
-	int8_t new_power;
+	int8_t new_power; /* TS 05.05 power level */
 
-	/* compute new target MS output power level based on current value subtracted by 'diff/2' */
+	/* compute new target MS output power level based on current value substracted by 'diff/2' */
 	new_power = lchan->ms_power_ctrl.current - (diff >> 1);
 
 	if (diff == 0)

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ia4bc291c8213dd6cfe3b13a99b3108532b6907b1
Gerrit-Change-Number: 15876
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191025/418919e9/attachment.htm>


More information about the gerrit-log mailing list