diff --git a/main.c b/main.c index 99b10c48..87750270 100644 --- a/main.c +++ b/main.c @@ -1277,7 +1277,11 @@ void get_tlm_fox() { } } else failureMode = FAIL_NONE; - + + if (sim_mode && (loop % 10 == 0) { + failureMode = (int) rnd_float(1, FAIL_COUNT); + printf("Sim Mode Random Failure Change\n"); + if (failureMode == FAIL_NONE) printf("No Simulated Failure\n"); if (failureMode == -1) {