Permalink
Browse files

removed confusing unused code

  • Loading branch information...
1 parent 1a0ca95 commit 0728a0b1f8c019f23c7c16464ff2a204c775ba01 @ladyada ladyada committed Feb 3, 2014
Showing with 0 additions and 8 deletions.
  1. +0 −8 Adafruit_MAX31855.cpp
@@ -76,14 +76,6 @@ double Adafruit_MAX31855::readCelsius(void) {
// get rid of internal temp data, and any fault bits
v >>= 18;
//Serial.println(v, HEX);
-
- // pull the bottom 13 bits off
- int16_t temp = v & 0x3FFF;
-
- // check sign bit
- if (v & 0x2000)
- temp |= 0xC000;
- //Serial.println(temp);
double centigrade = v;

0 comments on commit 0728a0b

Please sign in to comment.