move start_sstv

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

@ -145,9 +145,6 @@ void setup() {
*/ */
start_button_isr(); start_button_isr();
set_sstv_pin(26); // AUDIO_OUT_PIN); // was 26
setup_sstv();
camera_detected = start_camera(); camera_detected = start_camera();
// start_pwm(); // start_pwm();
@ -210,6 +207,11 @@ void loop() {
} }
else if (mode == SSTV) else if (mode == SSTV)
{ {
set_sstv_pin(26); // AUDIO_OUT_PIN); // was 26
setup_sstv();
bool stored_image = false; bool stored_image = false;
// first_time_sstv = false; // first_time_sstv = false;
LittleFS.remove("/cam.jpg"); LittleFS.remove("/cam.jpg");

Loading…
Cancel
Save

Powered by TurnKey Linux.