From f37cb1634242fc1d266e23ddecec8004b6d4395f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 31 Aug 2024 17:44:22 -0400 Subject: [PATCH] Update main.c no digits SSTV current --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 202552d4..594f1ca0 100644 --- a/main.c +++ b/main.c @@ -888,9 +888,9 @@ int main(int argc, char * argv[]) { // printf("Writing telem_string.txt\n"); if (batteryVoltage != 4.5) if (c2cStatus == 0) - fprintf(fp, "BAT %4.2fV %5.1fmA\n", batteryVoltage, batteryCurrent); + fprintf(fp, "BAT %4.2fV %4.0fmA\n", batteryVoltage, batteryCurrent); 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 fprintf(fp, "\n"); // don't show voltage and current if it isn't a sensor value