From 611fcbf6009e5d2fd4505dbb61ee5aea3b8c2b69 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 21 Oct 2018 15:07:09 -0400 Subject: [PATCH] cleanup - not sure working --- cw/cw_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cw/cw_main.c b/cw/cw_main.c index 25db7bf3..9b1762f5 100644 --- a/cw/cw_main.c +++ b/cw/cw_main.c @@ -503,7 +503,7 @@ int get_tlm(int tlm[][5]) { file = popen("sudo python /home/pi/CubeSatSim/python/readcurrent.py 2>&1", "r"); fgets(cmdbuffer, 1000, file); pclose(file); - printf("Current buffer is:%s\n", cmdbuffer); + // printf("Current buffer is:%s\n", cmdbuffer); char battery[3][14]; i = 0; @@ -511,7 +511,7 @@ int get_tlm(int tlm[][5]) { while (data2 != NULL) { strcpy(battery[i], data2); - printf ("battery[%d]=%s\n",i,battery[i]); +// printf ("battery[%d]=%s\n",i,battery[i]); data2 = strtok (NULL, " "); i++; }