@ -647,7 +647,7 @@ int main(int argc, char * argv[]) {
// IHUcpuTemp = (int)((cpuTemp * 10.0) + 0.5);
}
fclose ( cpuTempSensor ) ;
}
if ( payload = = ON ) { // -55
STEMBoardFailure = 0 ;
@ -709,7 +709,7 @@ int main(int argc, char * argv[]) {
payload = OFF ; // turn off since STEM Payload is not responding
}
if ( ( sensor_payload [ 0 ] = = ' O ' ) & & ( sensor_payload [ 1 ] = = ' K ' ) ) {
for ( count1 = 0 ; count1 < 17 ; count1 + + ) {
for ( int count1 = 0 ; count1 < 17 ; count1 + + ) {
if ( sensor [ count1 ] < sensor_min [ count1 ] )
sensor_min [ count1 ] = sensor [ count1 ] ;
if ( sensor [ count1 ] > sensor_max [ count1 ] )
@ -717,7 +717,7 @@ int main(int argc, char * argv[]) {
// printf("Smin %f Smax %f \n", sensor_min[count1], sensor_max[count1]);
}
}
}
// }
# ifdef DEBUG_LOGGING
fprintf ( stderr , " INFO: Battery voltage: %5.2f V Threshold %5.2f V Current: %6.1f mA Threshold: %6.1f mA \n " , batteryVoltage , voltageThreshold , batteryCurrent , currentThreshold ) ;