From 092a036992e25cb24dde85130992cee8214b6923 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 26 Jun 2021 08:39:23 -0400 Subject: [PATCH] print voltage and current --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 64e16e3a..b7e9ba13 100644 --- a/main.c +++ b/main.c @@ -585,7 +585,7 @@ int main(int argc, char * argv[]) { if (token != NULL) { voltage[count1] = (float) atof(token); #ifdef DEBUG_LOGGING - // printf("voltage: %f ", voltage[count1]); + printf("voltage: %f ", voltage[count1]); #endif token = strtok(NULL, space); if (token != NULL) { @@ -593,7 +593,7 @@ int main(int argc, char * argv[]) { if ((current[count1] < 0) && (current[count1] > -0.5)) current[count1] *= (-1.0f); #ifdef DEBUG_LOGGING - // printf("current: %f\n", current[count1]); + printf("current: %f\n", current[count1]); #endif token = strtok(NULL, space); }