Skip to content

Commit 0a10d86

Browse files
committed
Don't enable SPI 3-wire interface
1 parent 9c37a71 commit 0a10d86

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

adafruit_bme280.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,6 @@ def _config(self):
286286
config += (self._t_standby << 5)
287287
if self._iir_filter:
288288
config += (self._iir_filter << 2)
289-
if isinstance(self, Adafruit_BME280_SPI):
290-
config += 1 #enable SPI interface
291289
return config
292290

293291
@property

0 commit comments

Comments
 (0)