Update esp32-cam.ino

pico-v0.37-esp32
alanbjohnston 3 years ago committed by GitHub
parent 4417cdff72
commit 0241d54cfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -308,6 +308,7 @@ void load_files() {
deleteFile(SPIFFS, "/sstv_image_2_320_x_240.jpg"); deleteFile(SPIFFS, "/sstv_image_2_320_x_240.jpg");
f = SPIFFS.open("/sstv_image_1_320_x_240.jpg", "r"); f = SPIFFS.open("/sstv_image_1_320_x_240.jpg", "r");
f = false;
// if (f) { // if (f) {
if (false) { if (false) {
Serial.println("Image sstv_image_1_320_x_240.jpg already in FS"); Serial.println("Image sstv_image_1_320_x_240.jpg already in FS");
@ -324,6 +325,7 @@ void load_files() {
} }
f = SPIFFS.open("/sstv_image_2_320_x_240.jpg", "r"); f = SPIFFS.open("/sstv_image_2_320_x_240.jpg", "r");
f = false;
if (f) { if (f) {
Serial.println("Image sstv_image_2_320_x_240.jpg already in FS"); Serial.println("Image sstv_image_2_320_x_240.jpg already in FS");
f.close(); f.close();

Loading…
Cancel
Save

Powered by TurnKey Linux.