diff options
author | Amit Arora <amit.arora@linaro.org> | 2010-10-07 11:49:25 +0530 |
---|---|---|
committer | Amit Arora <amit.arora@linaro.org> | 2010-10-07 11:49:25 +0530 |
commit | 6a943ecbcd933e2c40973590db7255e8dd9102ff (patch) | |
tree | 4e0fcab768a8639c40bae58c65c048fac487997b /display.c | |
parent | 30d8d0abcd0cbf4a8f024631a3f368b5f0626fde (diff) | |
download | powerdebug-6a943ecbcd933e2c40973590db7255e8dd9102ff.tar.gz |
Display regulator num_users info
Diffstat (limited to 'display.c')
-rw-r--r-- | display.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -221,9 +221,10 @@ void show_regulator_info(int verbose) print(regulator_win, 12, 1, "Status"); print(regulator_win, 24, 1, "State"); print(regulator_win, 36, 1, "Type"); - print(regulator_win, 48, 1, "Microvolts"); - print(regulator_win, 60, 1, "Min u-volts"); - print(regulator_win, 72, 1, "Max u-volts"); + print(regulator_win, 48, 1, "Users"); + print(regulator_win, 60, 1, "Microvolts"); + print(regulator_win, 72, 1, "Min u-volts"); + print(regulator_win, 84, 1, "Max u-volts"); wattroff(regulator_win, A_BOLD); for (i=0; i<numregulators; i++) { @@ -248,6 +249,9 @@ void show_regulator_info(int verbose) regulators_info[i].type); col += 12; print(regulator_win, col, count, "%d", + regulators_info[i].num_users); + col += 12; + print(regulator_win, col, count, "%d", regulators_info[i].microvolts); col += 12; print(regulator_win, col, count, "%d", |