From cd765966f856e7df5a8117f8fbcdfd290471373d Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 9 Aug 2022 03:37:34 -0400 Subject: [PATCH] send sstv using filename string --- cubesatsim/cubesatsim.ino | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index adcd758e..460ac002 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -177,8 +177,12 @@ void loop() { } else if (mode == SSTV) { - Serial.println("\nSending SSTV image!"); - send_sstv("/cam.raw"); + char image_file; + strcpy(image_file, sstv1_filename); + Serial.print("\nSending SSTV image "); + print_string(image_file); +// send_sstv("/cam.raw"); + send_sstv(image_file); Serial.println("\nImage sent!"); } else