Show averaged values in UART output

This commit is contained in:
Thomas Kolb 2016-08-21 19:02:58 +02:00
parent 9dc1ab928c
commit 0e59b70465

View file

@ -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(":");