Skip to content

Commit c287ae8

Browse files
winkjabrauchli
authored andcommitted
make SHT3x accuracy constants private
1 parent 2d566a8 commit c287ae8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SHTSensor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,12 @@ class SHTC1Sensor : public SHTI2cSensor
163163

164164
class SHT3xSensor : public SHTI2cSensor
165165
{
166-
public:
166+
private:
167167
static const uint16_t SHT3x_ACCURACY_HIGH = 0x2c06;
168168
static const uint16_t SHT3x_ACCURACY_MEDIUM = 0x2c0d;
169169
static const uint16_t SHT3x_ACCURACY_LOW = 0x2c10;
170170

171+
public:
171172
static const uint8_t SHT3x_I2C_ADDRESS_44 = 0x44;
172173
static const uint8_t SHT3x_I2C_ADDRESS_45 = 0x45;
173174

0 commit comments

Comments
 (0)