add back in sstv_end, hardcode SSTV to pin 26

pico-sstv-pp
alanbjohnston 3 years ago committed by GitHub
parent 848d06c6bf
commit d316e35353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -150,7 +150,7 @@ void setup() {
start_button_isr(); start_button_isr();
// setup_sstv(); // setup_sstv();
picosstvpp_begin(AUDIO_OUT_PIN); picosstvpp_begin(26);
camera_detected = start_camera(); camera_detected = start_camera();
// start_pwm(); // start_pwm();
@ -258,7 +258,7 @@ void loop() {
// scottie1_transmit_file(output_file, debug_mode); // scottie1_transmit_file(output_file, debug_mode);
play_pwm_file(); play_pwm_file(26);
if (debug_mode) if (debug_mode)
Serial.println("Stop transmit!"); Serial.println("Stop transmit!");
@ -557,8 +557,8 @@ void transmit_off() {
} }
} }
// else if (mode == SSTV) else if (mode == SSTV)
// sstv_end(); sstv_end();
else if (mode == CW) else if (mode == CW)
cw_stop = true; cw_stop = true;
} }
@ -4125,8 +4125,8 @@ void serial_input() {
break; break;
} }
// if ((mode == SSTV) && prompt) // stop SSTV if need to prompt for input if ((mode == SSTV) && prompt) // stop SSTV if need to prompt for input
// sstv_end(); sstv_end();
if (new_mode != mode) if (new_mode != mode)
transmit_off(); transmit_off();

Loading…
Cancel
Save

Powered by TurnKey Linux.