Update main.c print thresholds

pull/368/head
Alan Johnston 6 months ago committed by GitHub
parent 0dadbc9ae5
commit 34c7db6a49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -823,9 +823,9 @@ int main(int argc, char * argv[]) {
fclose(cpuTempSensor); fclose(cpuTempSensor);
} }
#ifdef DEBUG_LOGGING // #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); 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);
#endif // #endif
if ((batteryCurrent > currentThreshold) && (batteryVoltage < (voltageThreshold + 0.15)) && !sim_mode && !hab_mode) if ((batteryCurrent > currentThreshold) && (batteryVoltage < (voltageThreshold + 0.15)) && !sim_mode && !hab_mode)
{ {

Loading…
Cancel
Save

Powered by TurnKey Linux.