Update main.c fix conditional for SSTV Fail I2C1

master-psag-fm-only-fsk
Alan Johnston 2 weeks ago committed by GitHub
parent 274e90de22
commit 7e5ac76512
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1140,7 +1140,7 @@ int main(int argc, char * argv[]) {
else else
fprintf(fp, "BAT %4.2fV %4.0fmA C\n", batteryVoltage, batteryCurrent); // show command and control is on fprintf(fp, "BAT %4.2fV %4.0fmA C\n", batteryVoltage, batteryCurrent); // show command and control is on
*/ */
if (failureMode == FAIL_I2C1) if (failureMode != FAIL_I2C1)
fprintf(fp, "BAT %.2fV %.0fmA", batteryVoltage, batteryCurrent); fprintf(fp, "BAT %.2fV %.0fmA", batteryVoltage, batteryCurrent);
else else
fprintf(fp, "BAT %.2fV %.0fmA", 0.0, 0.0); fprintf(fp, "BAT %.2fV %.0fmA", 0.0, 0.0);

Loading…
Cancel
Save

Powered by TurnKey Linux.