mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
bmp280 changed variable name to resolve shadow declaration issue. (#9100)
This commit is contained in:
committed by
Daniel Agar
parent
52e5e0df14
commit
062e44061d
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user