pull/74/head
alanbjohnston 5 years ago committed by GitHub
parent af3d08657c
commit d5e9303b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1237,12 +1237,12 @@ if (sim_mode)
if (voltage[count1] < voltage_min[count1]) if (voltage[count1] < voltage_min[count1])
voltage_min[count1] = voltage[count1]; voltage_min[count1] = voltage[count1];
if (current[count1] < current_min[count1]) if (current[count1] < current_min[count1])
voltage_min[count1] = current[count1]; current_min[count1] = current[count1];
if (voltage[count1] > voltage_max[count1]) if (voltage[count1] > voltage_max[count1])
voltage_max[count1] = voltage[count1]; voltage_max[count1] = voltage[count1];
if (current[count1] > current_max[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]); printf("Vmin %f Vmax %f Imin %f Imax %f \n", voltage_min[count1], voltage_max[count1], current_min[count1], current_max[count1]);
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.