From 297c951506e45a9fe38245ee6196eed38bc50b01 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 10 Aug 2025 15:40:07 -0400 Subject: [PATCH] Update transmit.py global cam_fail --- transmit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/transmit.py b/transmit.py index 063811d5..9d949580 100644 --- a/transmit.py +++ b/transmit.py @@ -115,6 +115,7 @@ def increment_mode(): print("can't write to .mode file") def camera_photo(): + global cam_fail sim_failure_check() system("sudo rm /home/pi/CubeSatSim/camera_out.jpg") stored_image = False