fixed first time SSTV

pico-sstv
alanbjohnston 3 years ago committed by GitHub
parent 8fbe4117eb
commit b436ce4662
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -210,12 +210,14 @@ void loop() {
else if (mode == SSTV) else if (mode == SSTV)
{ {
bool stored_image = false; bool stored_image = false;
first_time_sstv = false; // first_time_sstv = false;
char image_file[128]; char image_file[128];
if (first_time_sstv) { if (first_time_sstv) {
// if (false) { // turn this off for now // if (false) { // turn this off for now
strcpy(image_file, sstv1_filename); strcpy(image_file, sstv1_filename);
first_time_sstv = false; first_time_sstv = false;
stored_image = true;
Serial.println("First time - using stored image");
} else { } else {
if (camera_detected = get_camera_image()) { if (camera_detected = get_camera_image()) {
// Serial.println("Getting image file"); // Serial.println("Getting image file");

Loading…
Cancel
Save

Powered by TurnKey Linux.