changed printf for sensor data

pull/27/head
alanbjohnston 7 years ago committed by GitHub
parent 8d5ecd3633
commit 58eadd263e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -441,7 +441,7 @@ int get_tlm(int tlm[][5]) {
{
if (sensor[count] != OFF)
{
printf("Reading of sensnsor[%d]\n", count);
printf("Read sensnsor[%d] ", count);
setCalibration_16V_400mA(sensor[count]);
voltsShunt[count] = getShuntVoltage_mV(sensor[count])/1000;
voltsBus[count] = getBusVoltage_V(sensor[count]);
@ -456,7 +456,7 @@ int get_tlm(int tlm[][5]) {
power[count] = 0;
}
#ifdef DEBUG_LOGGING
printf(" sensor[%d] voltsBus %4.2f voltsShunt %4.2f current %4.2f power %4.2f \n",
printf("voltsBus %4.2f voltsShunt %4.2f current %4.2f power %4.2f \n",
count, voltsBus[count], voltsShunt[count], current[count], power[count]);
#endif
}

Loading…
Cancel
Save

Powered by TurnKey Linux.