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.
1 parent 3871b0c commit 592758fCopy full SHA for 592758f
SHTSensor.cpp
@@ -197,20 +197,6 @@ class SHT3xSensor : public SHTI2cSensor
197
};
198
199
200
-//
201
-// class SHT3xAlt
202
203
-
204
-class SHT3xAltSensor : public SHT3xSensor
205
-{
206
-public:
207
- SHT3xAltSensor() : SHT3xSensor()
208
- {
209
- setI2cAddress(SHT3x_I2C_ADDRESS_45);
210
- }
211
-};
212
213
214
//
215
// class SHT3xAnalogSensor
216
@@ -252,7 +238,7 @@ bool SHTSensor::init()
252
238
break;
253
239
254
240
case SHT3X_ALT:
255
- mSensor = new SHT3xAltSensor();
241
+ mSensor = new SHT3xSensor(SHT3xSensor::SHT3x_I2C_ADDRESS_45);
256
242
257
243
258
244
case SHTW1:
0 commit comments