From 397ba72eaf0bcf61723f7f3f84ff0b3cb0888163 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 21 Jul 2019 11:39:47 -0400 Subject: [PATCH] cleanup of x_fd printfs --- afsk/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index e41d3535..44494e6f 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -422,7 +422,7 @@ int get_tlm(int tlm[][5]) { busVolts = (int16_t)((busVolts >> 3) * 4); double volts = busVolts * 0.001 + shuntVolts * 0.01; - printf("********** -X 0x40 volts %4.2f busvoltage %d shutVoltage %d\n", volts, busVolts, shuntVolts); +// printf("********** -X 0x40 volts %4.2f busvoltage %d shutVoltage %d\n", volts, busVolts, shuntVolts); /* float shuntVolts = getShuntVoltage_mV(x_fd); float busVolts = getBusVoltage_V(x_fd); @@ -431,7 +431,7 @@ int get_tlm(int tlm[][5]) { voltage = shuntVolts + busVolts; */ #ifdef DEBUG_LOGGING - printf("-X 0x40 busVolts %4.2f shuntVolts %4.2f current %4.2f power %4.2f \n\n", busVolts, shuntVolts, x_current, x_power); + printf("-X 0x40 volts %4.2f busVolts %4.2f shuntVolts %4.2f current %4.2f power %4.2f \n\n", volts, busVolts, shuntVolts, x_current, x_power); #endif } }