From 8e30de7a534c7519b4356bffe25d6e7739c9cfe9 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 21 Aug 2022 07:33:30 -0400 Subject: [PATCH] changed to get_camera_image --- cubesatsim/cubesatsim.ino | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 6f4fd347..c2960689 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -61,7 +61,8 @@ WiFiClient client; byte green_led_counter = 0; char call[] = "AMSAT"; // put your callsign here -extern void get_image_file(); +extern void get_camera_image(); +extern void start_camera(); void setup() { @@ -133,6 +134,7 @@ void setup() { */ // start_button_isr(); setup_sstv(); + start_camera(); start_isr(); start_pwm(); @@ -189,7 +191,7 @@ void loop() { first_time_sstv = false; } else { Serial.println("Getting image file"); - get_image_file(); + get_camera_image(); Serial.println("Got image file"); char camera_file[] = "/cam.jpg"; strcpy(image_file, camera_file);