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) {
128
128
// get humidity, then get temperature reading from humidity measurement
129
129
struct si7021_env SI7021::getHumidityAndTemperature () {
130
130
si7021_env ret = {0 , 0 , 0 };
131
- ret.humidityBasisPoints = getHumidityBasisPoints ();
131
+ ret.humidityPercent = getHumidityPercent ();
132
132
ret.celsiusHundredths = _getCelsiusPostHumidity ();
133
133
ret.fahrenheitHundredths = (1.8 * ret.celsiusHundredths ) + 3200 ;
134
134
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
23
23
typedef struct si7021_env {
24
24
int celsiusHundredths;
25
25
int fahrenheitHundredths;
26
- unsigned int humidityBasisPoints ;
26
+ unsigned int humidityPercent ;
27
27
} si7021_env;
28
28
29
29
class SI7021
You can’t perform that action at this time.
0 commit comments