aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-12-03 18:55:01 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-12-05 12:58:08 +0100
commit7544f5a45badd1111464b0aae8f389b692e8afd8 (patch)
tree7218171371e4c68a6e520dc1d909c13d9ff73dea /Makefile.am
parent99ba5159852e10d4605e4b0e55eba1cad3900456 (diff)
power_control.c: Clarify loop algo vars and use correct ones during logHEADmaster
Rename some variables so that: * Variables containing power control levels end up with "_lvl". * Variables containing power levels end up with _dbm. * Move old current_dbm var to be ms_dbm, to match its power control level counterpart ms_power_lvl, and add current_dbm to match its counterpart ns_power_ctrl.current. Now that variables are more clear, it also becomes clear that old "diff > 0" condition, apart from difficult, was currently wrong, since in order to print the raise/low verb we want to compare between old and new values, not between received and new values. Let's fix that in this same commit. Change-Id: I4e279a6b93fbcc5da25bf8c9213310939fd493ce
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions