Show averaged values in UART output
This commit is contained in:
parent
9dc1ab928c
commit
0e59b70465
|
@ -340,15 +340,15 @@ static void report_status(struct PowerState *power_state,
|
|||
|
||||
debug_send_string("DATA:");
|
||||
|
||||
fxp_format(power_state->vin, number, 3);
|
||||
fxp_format(power_state->vin_avg, number, 3);
|
||||
debug_send_string(number);
|
||||
debug_send_string(":");
|
||||
|
||||
fxp_format(power_state->vout, number, 3);
|
||||
fxp_format(power_state->vout_avg, number, 3);
|
||||
debug_send_string(number);
|
||||
debug_send_string(":");
|
||||
|
||||
fxp_format(power_state->current, number, 3);
|
||||
fxp_format(power_state->current_avg, number, 3);
|
||||
debug_send_string(number);
|
||||
debug_send_string(":");
|
||||
|
||||
|
|
Loading…
Reference in a new issue