adafruit / Adafruit_BMP085_Unified

Unified sensor driver for Adafruit's BMP085 & BMP180 breakouts
93 stars 60 forks source link

Wire.endTransmission after Wire.requestFrom is not needed. #14

Open Koepel opened 9 years ago

Koepel commented 9 years ago

In two places, the Wire.requestFrom is followed by Wire.endTransmission. The Wire.requestFrom is a complete I2C transmission on its own and should not be followed by Wire.endTransmission.