BMP085: bmp085.init() should return 0
This commit is contained in:
parent
5922fdba21
commit
d426976e60
|
@ -74,7 +74,7 @@ static int ICACHE_FLASH_ATTR bmp085_init(lua_State* L) {
|
|||
bmp085_data.MC = r16(bmp085_i2c_id, 0xBC);
|
||||
bmp085_data.MD = r16(bmp085_i2c_id, 0xBE);
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static uint32_t bmp085_temperature_raw_b5(void) {
|
||||
|
|
Loading…
Reference in New Issue