From d5e9303b491402ddc63b8f2b4c42e861917389a2 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 12 Dec 2020 11:23:53 -0500 Subject: [PATCH] typos --- afsk/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index d0ff64f3..708adb63 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -1237,12 +1237,12 @@ if (sim_mode) if (voltage[count1] < voltage_min[count1]) voltage_min[count1] = voltage[count1]; if (current[count1] < current_min[count1]) - voltage_min[count1] = current[count1]; + current_min[count1] = current[count1]; if (voltage[count1] > voltage_max[count1]) voltage_max[count1] = voltage[count1]; if (current[count1] > current_max[count1]) - voltage_max[count1] = current[count1]; + current_max[count1] = current[count1]; printf("Vmin %f Vmax %f Imin %f Imax %f \n", voltage_min[count1], voltage_max[count1], current_min[count1], current_max[count1]); }