removed Parities and voltage and current logging

pull/57/head
alanbjohnston 5 years ago committed by GitHub
parent 54ea584495
commit 2308e5b6f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -584,7 +584,7 @@ for (int j = 0; j < frameCnt; j++)
{
voltage[count1] = 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 @@ for (int j = 0; j < frameCnt; j++)
if ((current[count1] < 0) && (current[count1] > -0.5))
current[count1] *= (-1.0);
#ifdef DEBUG_LOGGING
printf("current: %f\n", current[count1]);
// printf("current: %f\n", current[count1]);
#endif
token = strtok(NULL, space);
}
@ -1164,13 +1164,13 @@ if (payload == ON)
#ifdef DEBUG_LOGGING
// printf("\nAt end of data8 write, %d ctr1 values written\n\n", ctr1);
/*
printf("Parities ");
// for (int m = 0; m < PARITY_LEN; m++) {
for (int m = 0; m < parityLen; m++) {
printf("%d ", parities[0][m]);
}
printf("\n");
*/
#endif
int ctr2 = 0;

Loading…
Cancel
Save

Powered by TurnKey Linux.