<p>pespin <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bts/+/16440">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">power_control.c: Clarify loop algo vars and use correct ones during log<br><br>Rename some variables so that:<br>* Variables containing power control levels end up with "_lvl".<br>* Variables containing power levels end up with _dbm.<br>* Move old current_dbm var to be ms_dbm, to match its power control<br>level counterpart ms_power_lvl, and add current_dbm to match its<br>counterpart ns_power_ctrl.current.<br><br>Now that variables are more clear, it also becomes clear that old "diff ><br>0" condition, apart from difficult, was currently wrong, since in order<br>to print the raise/low verb we want to compare between old and new<br>values, not between received and new values. Let's fix that in this same<br>commit.<br><br>Change-Id: I4e279a6b93fbcc5da25bf8c9213310939fd493ce<br>---<br>M src/common/power_control.c<br>1 file changed, 18 insertions(+), 18 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/40/16440/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bts/+/16440">change 16440</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-bts/+/16440"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I4e279a6b93fbcc5da25bf8c9213310939fd493ce </div>
<div style="display:none"> Gerrit-Change-Number: 16440 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>