From 8ea8eaffb586a006fbb8c30439fc1859e30f2ea5 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 23 Jul 2019 02:13:26 -0400 Subject: [PATCH] fixed references to data struct --- afsk/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afsk/main.c b/afsk/main.c index d6c44763..b29f318d 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -538,7 +538,7 @@ int get_tlm(int tlm[][5]) { #ifdef DEBUG_LOGGING printf("%+4.2fV %+4.2fmA %+4.2fmW \n", - sensor[count].volts, sensor[count].current, sensor[count].power); + data[count].volts, data[count].current, data[count].power); #endif }