From 58eadd263ee5069474dc08f2af73d6ba92d60bdb Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 21 Jul 2019 13:48:04 -0400 Subject: [PATCH] changed printf for sensor data --- afsk/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index d5b1d2f2..7a385d1a 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -441,7 +441,7 @@ int get_tlm(int tlm[][5]) { { if (sensor[count] != OFF) { - printf("Reading of sensnsor[%d]\n", count); + printf("Read sensnsor[%d] ", count); setCalibration_16V_400mA(sensor[count]); voltsShunt[count] = getShuntVoltage_mV(sensor[count])/1000; voltsBus[count] = getBusVoltage_V(sensor[count]); @@ -456,7 +456,7 @@ int get_tlm(int tlm[][5]) { power[count] = 0; } #ifdef DEBUG_LOGGING - printf(" sensor[%d] voltsBus %4.2f voltsShunt %4.2f current %4.2f power %4.2f \n", + printf("voltsBus %4.2f voltsShunt %4.2f current %4.2f power %4.2f \n", count, voltsBus[count], voltsShunt[count], current[count], power[count]); #endif }