Update main.c typo

beta-v1.3.1.1-sim
Alan Johnston 2 years ago committed by GitHub
parent fc81909d9e
commit b96200aff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save

Powered by TurnKey Linux.