From fa46a12bf72b966806948d661c8d7387f209bfeb Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 5 Sep 2022 08:56:09 -0400 Subject: [PATCH] skip first time for SSTV --- cubesatsim/cubesatsim.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index b3ad0d25..74faffab 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -203,6 +203,7 @@ void loop() { } else if (mode == SSTV) { + first_time_sstv = false; char image_file[128]; if (first_time_sstv) { // if (false) { // turn this off for now @@ -228,6 +229,7 @@ void loop() { char output_file[] = "/cam.bin"; jpeg_decode(image_file, output_file, debug_mode); + rotate if (debug_mode) Serial.println("Start transmit!!!");