From 036bc3ba73e0410a47af1c95c2cbdf4528487480 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 29 Jun 2021 23:37:11 -0400 Subject: [PATCH] also delete the camera wav file --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 7a0644cf..3fc66aea 100644 --- a/main.c +++ b/main.c @@ -289,6 +289,7 @@ int main(int argc, char * argv[]) { #endif FILE * file5 = popen("sudo rm /home/pi/CubeSatSim/camera_out.jpg > /dev/null 2>&1", "r"); + file5 = popen("sudo rm /home/pi/CubeSatSim/camera_out.jpg.wav > /dev/null 2>&1", "r"); pclose(file5); // try connecting to STEM Payload board using UART