diff options
author | William Harrington <kb0iic@berzerkula.org> | 2019-08-07 23:34:16 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2019-08-07 23:34:16 -0500 |
commit | 80311b34e5d9572b3c252e5a8ec86939048eb4e5 (patch) | |
tree | 216e00099ffa27bca36f8805fbd425fc0faa7ef5 | |
parent | b2325f38a1b65f27ba804587800df91214bca02f (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-x | main.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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
|