diff options
author | William Harrington <kb0iic@berzerkula.org> | 2019-07-28 01:30:51 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2019-07-28 01:30:51 -0500 |
commit | c8a365bfa4765e45d1a33f8d4934522667c8724c (patch) | |
tree | 5e5119fd72f07107a83376737f7a26022dd4b60e | |
parent | 2bb687d09947310d3e8c9a89d6932865912bc8b6 (diff) |
Add DEBUG block around char buf[40].
-rwxr-xr-x | main.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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);
|