From 06aedad8278317263f1b7661b0838055a938da3e Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 16 Feb 2023 13:14:11 -0500 Subject: [PATCH] Update esp32-cam.ino --- cubesatsim/esp32-cam/esp32-cam.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cubesatsim/esp32-cam/esp32-cam.ino b/cubesatsim/esp32-cam/esp32-cam.ino index 542f4967..1938c04d 100644 --- a/cubesatsim/esp32-cam/esp32-cam.ino +++ b/cubesatsim/esp32-cam/esp32-cam.ino @@ -304,7 +304,7 @@ void load_files() { SPIFFS.begin(); File f; - f = SPIFFS.open("sstv_image_1_320_x_240.jpg", "r"); + f = SPIFFS.open("/sstv_image_1_320_x_240.jpg", "r"); // if (f) { if (false) { Serial.println("Image sstv_image_1_320_x_240.jpg already in FS"); @@ -320,7 +320,7 @@ void load_files() { f.close(); } - f = SPIFFS.open("sstv_image_2_320_x_240.jpg", "r"); + f = SPIFFS.open("/sstv_image_2_320_x_240.jpg", "r"); if (f) { Serial.println("Image sstv_image_2_320_x_240.jpg already in FS"); f.close();