Skip to content
This repository has been archived by the owner on Jul 26, 2018. It is now read-only.

Commit

Permalink
Merge pull request #11 from nkolban/master
Browse files Browse the repository at this point in the history
Updates for quality
  • Loading branch information
Mike Grusin committed Nov 12, 2016
2 parents b591bf4 + 587553d commit 7abff69
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Libraries/Arduino/src/SFE_BMP180.cpp
Expand Up @@ -177,7 +177,7 @@ char SFE_BMP180::readBytes(unsigned char *values, char length)
// values: external array to hold data. Put starting register in values[0].
// length: number of bytes to read
{
char x;
uint8_t x;

Wire.beginTransmission(BMP180_ADDR);
Wire.write(values[0]);
Expand All @@ -201,8 +201,6 @@ char SFE_BMP180::writeBytes(unsigned char *values, char length)
// values: external array of data to write. Put starting register in values[0].
// length: number of bytes to write
{
char x;

Wire.beginTransmission(BMP180_ADDR);
Wire.write(values,length);
_error = Wire.endTransmission();
Expand Down

0 comments on commit 7abff69

Please sign in to comment.