aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2019-08-07 23:34:16 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2019-08-07 23:34:16 -0500
commit80311b34e5d9572b3c252e5a8ec86939048eb4e5 (patch)
tree216e00099ffa27bca36f8805fbd425fc0faa7ef5
parentb2325f38a1b65f27ba804587800df91214bca02f (diff)
Remove need for temp_0. temperature_lsb is already going to be 00, 25, 50 or 75. Depending on user display of 00.x or 00.xx temperature resolution, can use MSB and/or LSB of temperature_lsb
-rwxr-xr-xmain.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/main.h b/main.h
index 5281c07..d65a1f4 100755
--- a/main.h
+++ b/main.h
@@ -47,9 +47,6 @@ extern unsigned int temperature_lsb;
extern int temperature_msb;
unsigned char temp_sign;
-// Declare variables for splitting decimal digit to character
-unsigned char temp_0;
-
// Define MSB / LSB
#define LSB(x) ((x % 10) + '0') // x >> 4
#define MSB(x) ((x / 10) + '0') // x & 0x0F