From b96200aff09b1234eda3a120a588c0cc8f444281 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 13 Dec 2023 11:48:42 -0500 Subject: [PATCH] Update main.c typo --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 4191c9d9..ef252f27 100644 --- a/main.c +++ b/main.c @@ -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);