Update main.c change to BAT with current in sstv telem

pull/278/head
Alan Johnston 2 years ago committed by GitHub
parent 1bdc0220d9
commit 87340406ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -837,7 +837,7 @@ int main(int argc, char * argv[]) {
#endif
FILE * fp = fopen("/home/pi/CubeSatSim/telem_string.txt", "w");
printf("Writing telem_string.txt\n");
fprintf(fp, "Vbatt = %4.2f\n", batteryVoltage);
fprintf(fp, "BAT %4.2fV %5.1fmA\n", batteryVoltage, batteryCurrent);
fclose(fp);
/**/

Loading…
Cancel
Save

Powered by TurnKey Linux.