From cbd1a85f83a08a7abd792b5ca8c2e0a28f027c66 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 15 Feb 2020 14:31:16 -0500 Subject: [PATCH] typo --- afsk/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afsk/main.c b/afsk/main.c index 30a93fbd..9c3aad50 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -377,7 +377,7 @@ if (vB4) while (loop-- != 0) { - float batteryVoltage = read_sensor_data(sensor[BAT]); + float batteryVoltage = read_sensor_data(sensor[BAT]).voltage; #ifdef DEBUG_LOGGING fprintf(stderr,"INFO: Battery voltage: %f V Battery Threshold %f V\n", batteryVoltage, batteryThreshold); #endif