From 891f6e15f0401743f67a95355aa52354ce038af8 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 8 Dec 2022 07:56:54 -0500 Subject: [PATCH] GET_DEBUG turned on --- cubesatsim/play_pwm.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cubesatsim/play_pwm.cpp b/cubesatsim/play_pwm.cpp index 39984238..2ea6ef82 100644 --- a/cubesatsim/play_pwm.cpp +++ b/cubesatsim/play_pwm.cpp @@ -1,5 +1,7 @@ #include +#define GET_DEBUG + /* void play_pwm_from_serial(int dds_pwm_pin) { @@ -17,7 +19,7 @@ int jpeg_start = 0; FastCRC8 CRC8; #define CAMERA_TIMEOUT 12000 // Camera timeout in milli seconds -//#define GET_IMAGE_DEBUG +//#define GET_DEBUG //#define DEBUG @@ -342,7 +344,7 @@ int jpeg_start = 0; //FastCRC8 CRC8; #define CAMERA_TIMEOUT 12000 // Camera timeout in milli seconds -//#define GET_IMAGE_DEBUG +//#define GET_DEBUG //#define DEBUG @@ -385,7 +387,7 @@ int led_pin = LED_BUILTIN; if (octet == end_flag[flag_count]) { // looking for end flag // if (end_flag_detected) { flag_count++; -#ifdef GET_IMAGE_DEBUG +#ifdef GET_DEBUG Serial.println("Found part of end flag!"); #endif if (flag_count >= strlen(end_flag)) { // complete image