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

@ -1235,14 +1235,14 @@ if (sim_mode)
for (count1 = 0; count1 < 8; count1++) for (count1 = 0; count1 < 8; count1++)
{ {
if (voltage[count1] < voltage_min[count1]) if (voltage[count1] < voltage_min[count1])
voltage_min[count1] = voltage[count]; voltage_min[count1] = voltage[count1];
if (current[count1] < current_min[count1]) if (current[count1] < current_min[count1])
voltage_min[count1] = current[count]; voltage_min[count1] = current[count1];
if (voltage[count1] > voltage_max[count1]) if (voltage[count1] > voltage_max[count1])
voltage_max[count1] = voltage[count]; voltage_max[count1] = voltage[count]1;
if (current[count1] > current_max[count1]) if (current[count1] > current_max[count1])
voltage_max[count1] = current[count]; voltage_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.