From 31d84444bc624b0a4caef353c5c250ac2707ce63 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Thu, 6 Feb 2025 15:19:23 -0500 Subject: [PATCH] Update fc_block_decode.py add print and : --- groundstation/fc_block_decode.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/groundstation/fc_block_decode.py b/groundstation/fc_block_decode.py index 523c816d..c5d0853a 100644 --- a/groundstation/fc_block_decode.py +++ b/groundstation/fc_block_decode.py @@ -47,7 +47,8 @@ if __name__ == "__main__": try: print("Writing payload to file") f = open('image_file','a') - data_block[FC_PAYLOAD + extended].tofile(f) + print("File opened") + data_block[FC_PAYLOAD + extended:].tofile(f) f.close() sleep(60) except: