got rid of "sensnsor"

pull/17/head
alanbjohnston 7 years ago committed by GitHub
parent eddd071771
commit 09bc98a60a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -438,7 +438,7 @@ int get_tlm(int tlm[][5]) {
{ {
if (sensor[count] != OFF) if (sensor[count] != OFF)
{ {
printf("Read sensnsor[%d] ", count); printf("Read sensor[%d] ", count);
setCalibration_16V_400mA(sensor[count]); setCalibration_16V_400mA(sensor[count]);
voltsShunt[count] = getShuntVoltage_mV(sensor[count])/1000; voltsShunt[count] = getShuntVoltage_mV(sensor[count])/1000;
voltsBus[count] = getBusVoltage_V(sensor[count]); voltsBus[count] = getBusVoltage_V(sensor[count]);
@ -459,7 +459,7 @@ int get_tlm(int tlm[][5]) {
} }
if (sensor[BUS] != OFF) // For MoPower V2 INA219 if (sensor[BUS] != OFF) // For MoPower V2 INA219
{ {
printf("Reading of sensnsor[%d] \n", BUS); printf("Reading of sensor[%d] ", BUS);
setCalibration_16V_2A(sensor[BUS]); setCalibration_16V_2A(sensor[BUS]);
voltsShunt[BUS] = getShuntVoltage_mV(sensor[BUS])/1000; voltsShunt[BUS] = getShuntVoltage_mV(sensor[BUS])/1000;
voltsBus[BUS] = getBusVoltage_V(sensor[BUS]); voltsBus[BUS] = getBusVoltage_V(sensor[BUS]);

Loading…
Cancel
Save

Powered by TurnKey Linux.