diff --git a/libraries/SI7021/SI7021.cpp b/libraries/SI7021/SI7021.cpp index c51ab6b..4f929d1 100644 --- a/libraries/SI7021/SI7021.cpp +++ b/libraries/SI7021/SI7021.cpp @@ -38,7 +38,7 @@ bool SI7021::sensorExists() { } int SI7021::getFahrenheitHundredths() { - unsigned int c = getCelsiusHundredths(); + int c = getCelsiusHundredths(); return (1.8 * c) + 3200; }