From 80311b34e5d9572b3c252e5a8ec86939048eb4e5 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Wed, 7 Aug 2019 23:34:16 -0500 Subject: 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 --- main.h | 3 --- 1 file changed, 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 -- cgit v1.2.3-54-g00ecf