We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f2fd02d + 2113149 commit 6e169feCopy full SHA for 6e169fe
Adafruit_MAX31855.cpp
@@ -137,7 +137,7 @@ double Adafruit_MAX31855::readCelsius(void) {
137
138
if (v & 0x80000000) {
139
// Negative value, drop the lower 18 bits and explicitly extend sign bits.
140
- v = 0xFFFFC000 | ((v >> 18) & 0x00003FFFF);
+ v = 0xFFFFC000 | ((v >> 18) & 0x00003FFF);
141
} else {
142
// Positive value, just drop the lower 18 bits.
143
v >>= 18;
README.txt
0 commit comments