From cdb5bb84d661a71587a604e255f61cd6f337c38b Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 15 Oct 2022 10:08:25 -0400 Subject: [PATCH] delete cam.* files --- cubesatsim/cubesatsim.ino | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index bc6d086f..3d1a9fbd 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -209,7 +209,11 @@ void loop() { } else if (mode == SSTV) { -// first_time_sstv = false; + first_time_sstv = false; + Serial.println("Deleting cam.* files"); + LittleFS. remove("/cam.bin"); + LittleFS. remove("/cam2.bin"); + LittleFS. remove("/cam.jpg"); char image_file[128]; if (first_time_sstv) { // if (false) { // turn this off for now