Skip to content

Commit 592758f

Browse files
winkjabrauchli
authored andcommitted
delete SHT3xAltSensor class
1 parent 3871b0c commit 592758f

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

SHTSensor.cpp

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -197,20 +197,6 @@ class SHT3xSensor : public SHTI2cSensor
197197
};
198198

199199

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-
214200
//
215201
// class SHT3xAnalogSensor
216202
//
@@ -252,7 +238,7 @@ bool SHTSensor::init()
252238
break;
253239

254240
case SHT3X_ALT:
255-
mSensor = new SHT3xAltSensor();
241+
mSensor = new SHT3xSensor(SHT3xSensor::SHT3x_I2C_ADDRESS_45);
256242
break;
257243

258244
case SHTW1:

0 commit comments

Comments
 (0)