aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2019-07-28 01:30:51 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2019-07-28 01:30:51 -0500
commitc8a365bfa4765e45d1a33f8d4934522667c8724c (patch)
tree5e5119fd72f07107a83376737f7a26022dd4b60e
parent2bb687d09947310d3e8c9a89d6932865912bc8b6 (diff)
Add DEBUG block around char buf[40].
-rwxr-xr-xmain.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.h b/main.h
index 35fead3..aaec162 100755
--- a/main.h
+++ b/main.h
@@ -32,11 +32,13 @@ unsigned char month_0, month_1;
unsigned char year_0, year_1;
unsigned char temp_0, temp_1, temp_2;
unsigned char alarm1_sec_0, alarm1_sec_1, alarm1_min_0, alarm1_min_1,
- alarm1_hour_0, alarm1_hour_1;
+alarm1_hour_0, alarm1_hour_1;
unsigned char alarm2_min_0, alarm2_min_1, alarm2_hour_0, alarm2_hour_1;
+#ifdef DEBUG
// Initialize a variable to use as a buffer for sprintf
char buf[40];
+#endif
// Format unsigned int to unsigned chars
void format_DateTimeChars(void);