From 87340406eca27d7422338a4226102b5f8bc31c9e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 2 Oct 2023 22:41:59 -0400 Subject: [PATCH] Update main.c change to BAT with current in sstv telem --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index ab362019..bf844cc6 100644 --- a/main.c +++ b/main.c @@ -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); /**/