File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ void SI7021::setHeater(bool on) {
128128// get humidity, then get temperature reading from humidity measurement
129129struct si7021_env SI7021::getHumidityAndTemperature () {
130130 si7021_env ret = {0 , 0 , 0 };
131- ret.humidityBasisPoints = getHumidityBasisPoints ();
131+ ret.humidityPercent = getHumidityPercent ();
132132 ret.celsiusHundredths = _getCelsiusPostHumidity ();
133133 ret.fahrenheitHundredths = (1.8 * ret.celsiusHundredths ) + 3200 ;
134134 return ret;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ This program is licensed under the GNU GPL v2
2323typedef struct si7021_env {
2424 int celsiusHundredths;
2525 int fahrenheitHundredths;
26- unsigned int humidityBasisPoints ;
26+ unsigned int humidityPercent ;
2727} si7021_env;
2828
2929class SI7021
You can’t perform that action at this time.
0 commit comments