diff --git a/main.c b/main.c index c23f1af5..c3d6e39a 100644 --- a/main.c +++ b/main.c @@ -1021,7 +1021,7 @@ int main(int argc, char * argv[]) { else { printf("Write simulted voltage and current to telem_string.txt\n"); // fprintf(fp, "\n"); // don't show voltage and current if it isn't a sensor value - fprintf(fp, "BAT %.2fV %.0fmA", voltage[map[BAT]], current[map[BAT]]; // display simulated voltage and current + fprintf(fp, "BAT %.2fV %.0fmA", voltage[map[BAT]], current[map[BAT]]); // display simulated voltage and current if (c2cStatus != DISABLED) fprintf(fp," C"); if (sim_mode || (failureMode != FAIL_NONE))