Update main.c

pull/10/head
alanbjohnston 7 years ago committed by GitHub
parent ed6452ed25
commit f6a0888126
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -434,9 +434,9 @@ int get_tlm(int tlm[][5]) {
float shuntVolts = getShuntVoltage_mV(x_fd);
float busVolts = getBusVoltage_V(x_fd);
x_current = getCurrent_mA(x_fd);
power = getPower_mW(x_fd);
x_power = getPower_mW(x_fd);
voltage = shuntVolts + busVolts;
printf("-X 0x40 busVolts %4.2f shuntVolts %4.2f current %4.2f power %4.2f \n", busVolts, shuntVolts, x_current, power);
printf("-X 0x40 busVolts %4.2f shuntVolts %4.2f current %4.2f power %4.2f \n", busVolts, shuntVolts, x_current, x_power);
}
int count;

Loading…
Cancel
Save

Powered by TurnKey Linux.