Update main.c

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

@ -466,8 +466,8 @@ int get_tlm(int tlm[][5]) {
setCalibration_16V_2A(sensor[BUS]);
voltsShunt[BUS] = getShuntVoltage_mV(sensor[BUS])/1000;
voltsBus[BUS] = getBusVoltage_V(sensor[BUS]);
current[BUS] = getCurrent_mA(sensor[BUS]) * 4;
power[BUS] = getPower_mW(sensor[BUS]) *2;
current[BUS] = getCurrent_mA(sensor[BUS]); // * 4;
power[BUS] = getPower_mW(sensor[BUS]); // *2;
}
else
{

Loading…
Cancel
Save

Powered by TurnKey Linux.