From dabecd123826e15e4f4ee2d5069f59595e74f03e Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 21 Aug 2022 07:18:59 -0400 Subject: [PATCH] get_image_file debugging --- cubesatsim/cubesatsim.ino | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index c0934691..6f4fd347 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -183,17 +183,18 @@ void loop() { else if (mode == SSTV) { char image_file[128]; - if (first_time_sstv) { +// if (first_time_sstv) { + if (false) { // turn this off for now strcpy(image_file, sstv1_filename); first_time_sstv = false; } else { - - // get jpeg from camera in future - get_image_file(); + Serial.println("Getting image file"); + get_image_file(); + Serial.println("Got image file"); char camera_file[] = "/cam.jpg"; strcpy(image_file, camera_file); -// strcpy(image_file, sstv2_filename); +// strcpy(image_file, sstv2_filename); // 2nd stored image } if (debug_mode) { Serial.print("\nSending SSTV image ");