From 347ce1812341727f0f75448f916db0317367f54b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 8 Aug 2025 15:22:49 -0400 Subject: [PATCH] Update main.c typo --- main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 87750270..bcbc80fc 100644 --- a/main.c +++ b/main.c @@ -1278,10 +1278,11 @@ void get_tlm_fox() { } else failureMode = FAIL_NONE; - if (sim_mode && (loop % 10 == 0) { + 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) {