Update main.c remove extra random

pull/395/head
Alan Johnston 4 months ago committed by GitHub
parent facd8bfc99
commit adce015667
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1250,10 +1250,10 @@ void get_tlm_fox() {
if (failureMode == FAIL_NONE)
printf("No Simulated Failure\n");
if (failureMode == -1) {
failureMode = (int) rnd_float(1, FAIL_COUNT);
printf("Random Failure\n");
}
// if (failureMode == -1) {
// failureMode = (int) rnd_float(1, FAIL_COUNT);
// printf("Random Failure\n");
// }
if (failureMode == FAIL_SOLAR) {
voltage[map[PLUS_X]] = 0.0;
current[map[PLUS_X]] = 0.0;

Loading…
Cancel
Save

Powered by TurnKey Linux.