Update fc_block_decode.py add image_count

fc-fctelem
Alan Johnston 11 months ago committed by GitHub
parent 67669e1c9f
commit 3f8c26bebc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -11,6 +11,8 @@ FC_SW = 50
FC_PAYLOAD = 55
extended = 1
image_count = 0
if __name__ == "__main__":
debug_mode = False
counter = 1
@ -57,5 +59,10 @@ if __name__ == "__main__":
sleep(60)
except:
print("File error")
else:
print("End of image")
system("sudo mv image_file image_file" + str(image_count))
print("Image count: ")
print(image_count++)
else:
print("Unknown Sat Id or Frame")

Loading…
Cancel
Save

Powered by TurnKey Linux.