added debug_camera

pico-mitt
alanbjohnston 3 years ago committed by GitHub
parent d12fb3ab30
commit 2995e8e5da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -75,7 +75,7 @@ MQTTClient client;
byte green_led_counter = 0;
char call[] = "AMSAT"; // put your callsign here
extern bool get_camera_image();
extern bool get_camera_image(bool debug);
extern bool start_camera();
void setup() {
@ -253,7 +253,7 @@ void loop() {
load_sstv_image_1_as_cam_dot_jpg();
first_time_sstv = false;
} else {
if (camera_detected = get_camera_image()) {
if (camera_detected = get_camera_image(debug_camera)) {
Serial.println("Getting image file");
// Serial.println("Got image file");
// char camera_file[] = "/cam.jpg";
@ -4277,11 +4277,15 @@ void serial_input() {
break;
case 'c':
case 'C':
Serial.println("Change the CALLSIGN");
prompt = PROMPT_CALLSIGN;
break;
case 'C':
Serial.println("Debug camera");
debug_camera = true;
break;
case 't':
case 'T':
Serial.println("Change the Simulated Telemetry");

Loading…
Cancel
Save

Powered by TurnKey Linux.