From 8baab38270885a32f0d4d8205d7f3e5dca8873ed Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Feb 2025 16:26:15 -0500 Subject: [PATCH] Update main.c typo --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index e3330202..e076b3df 100644 --- a/main.c +++ b/main.c @@ -2336,7 +2336,7 @@ void get_tlm_fc() { // FunCube Mode telemetry generation source_bytes[pos++] = value; printf("%2x ", value); } - if (val == EOF) { + if (value == EOF) { image_file = NULL; printf("End of file reached!"); }