[MERGED] osmo-bts[master]: Cosmetic fixes for power ramping code.

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
Mon Feb 19 08:51:33 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: Cosmetic fixes for power ramping code.
......................................................................


Cosmetic fixes for power ramping code.

Fix typos in 2 comments.

Change-Id: I214bcc8b78446bfea450fe445fa9391898638905
---
M src/common/tx_power.c
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/src/common/tx_power.c b/src/common/tx_power.c
index 3dfe1f7..e418cec 100644
--- a/src/common/tx_power.c
+++ b/src/common/tx_power.c
@@ -275,7 +275,7 @@
 			/* Set attenuation to cause no power change right now */
 			tpp->ramp.attenuation_mdB = tpp->p_total_tgt_mdBm - tpp->p_total_cur_mdBm;
 
-			/* start with the firsrt step */
+			/* start with the first step */
 			power_ramp_do_step(trx, 1);
 		}
 	} else {
@@ -283,7 +283,7 @@
 		 * steps until it reaches 0 */
 		tpp->ramp.attenuation_mdB = tpp->p_total_tgt_mdBm - tpp->p_total_cur_mdBm;
 
-		/* start with the firsrt step */
+		/* start with the first step */
 		power_ramp_do_step(trx, 1);
 	}
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I214bcc8b78446bfea450fe445fa9391898638905
Gerrit-PatchSet: 4
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>



More information about the gerrit-log mailing list