From b436ce4662bbe9e8cc73ba7438d73f30c0571020 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Fri, 14 Oct 2022 11:25:14 -0400 Subject: [PATCH] fixed first time SSTV --- cubesatsim/cubesatsim.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 2846e595..50461216 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -210,12 +210,14 @@ void loop() { else if (mode == SSTV) { bool stored_image = false; - first_time_sstv = false; +// first_time_sstv = false; char image_file[128]; if (first_time_sstv) { // if (false) { // turn this off for now strcpy(image_file, sstv1_filename); first_time_sstv = false; + stored_image = true; + Serial.println("First time - using stored image"); } else { if (camera_detected = get_camera_image()) { // Serial.println("Getting image file");