Skip to content

Commit

Permalink
bmp280 changed variable name to resolve shadow declaration issue. (#9100
Browse files Browse the repository at this point in the history
)
  • Loading branch information
shivam5594 authored and dagar committed Mar 18, 2018
1 parent 52e5e0d commit 062e440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/barometer/bmp280/bmp280_spi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ bmp280::IBMP280 *bmp280_spi_interface(uint8_t busnum, uint8_t device, bool exter
return new BMP280_SPI(busnum, device, external);
}

BMP280_SPI::BMP280_SPI(uint8_t bus, uint32_t device, bool external) :
BMP280_SPI::BMP280_SPI(uint8_t bus, uint32_t device, bool externalL) :
SPI("BMP280_SPI", nullptr, bus, device, SPIDEV_MODE3, 10 * 1000 * 1000)
{
_external = external;
_external = externalL;
}

bool BMP280_SPI::is_external()
Expand Down

0 comments on commit 062e440

Please sign in to comment.