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 3c2e13b commit b848cb2Copy full SHA for b848cb2
Adafruit_BME280.cpp
@@ -128,7 +128,7 @@ uint8_t Adafruit_BME280::read8(byte reg)
128
Wire.endTransmission();
129
Wire.requestFrom((uint8_t)_i2caddr, (byte)1);
130
value = Wire.read();
131
- Wire.endTransmission();
+
132
} else {
133
if (_sck == -1)
134
SPI.beginTransaction(SPISettings(500000, MSBFIRST, SPI_MODE0));
@@ -157,7 +157,7 @@ uint16_t Adafruit_BME280::read16(byte reg)
157
158
Wire.requestFrom((uint8_t)_i2caddr, (byte)2);
159
value = (Wire.read() << 8) | Wire.read();
160
161
162
163
0 commit comments