Update main.c no digits SSTV current

beta-ft
Alan Johnston 1 year ago committed by GitHub
parent aed480fae0
commit f37cb16342
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -888,9 +888,9 @@ int main(int argc, char * argv[]) {
// printf("Writing telem_string.txt\n"); // printf("Writing telem_string.txt\n");
if (batteryVoltage != 4.5) if (batteryVoltage != 4.5)
if (c2cStatus == 0) if (c2cStatus == 0)
fprintf(fp, "BAT %4.2fV %5.1fmA\n", batteryVoltage, batteryCurrent); fprintf(fp, "BAT %4.2fV %4.0fmA\n", batteryVoltage, batteryCurrent);
else else
fprintf(fp, "BAT %4.2fV %5.1fmA 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
else else
fprintf(fp, "\n"); // don't show voltage and current if it isn't a sensor value fprintf(fp, "\n"); // don't show voltage and current if it isn't a sensor value

Loading…
Cancel
Save

Powered by TurnKey Linux.