Skip to content

Commit 6e169fe

Browse files
authored
Merge pull request #36 from caternuson/misc
House cleaning updates
2 parents f2fd02d + 2113149 commit 6e169fe

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

Adafruit_MAX31855.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ double Adafruit_MAX31855::readCelsius(void) {
137137

138138
if (v & 0x80000000) {
139139
// Negative value, drop the lower 18 bits and explicitly extend sign bits.
140-
v = 0xFFFFC000 | ((v >> 18) & 0x00003FFFF);
140+
v = 0xFFFFC000 | ((v >> 18) & 0x00003FFF);
141141
} else {
142142
// Positive value, just drop the lower 18 bits.
143143
v >>= 18;

README.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)