mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 07:58:09 +01:00
Update esphome/components/lps22/lps22.cpp
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
3c2047bda6
commit
251b9db135
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ static constexpr uint8_t PRES_OUT_XL = 0x28;
|
||||||
static constexpr uint8_t REF_P_XL = 0x28;
|
static constexpr uint8_t REF_P_XL = 0x28;
|
||||||
static constexpr uint8_t READ_ATTEMPTS = 10;
|
static constexpr uint8_t READ_ATTEMPTS = 10;
|
||||||
static constexpr uint8_t READ_INTERVAL = 5;
|
static constexpr uint8_t READ_INTERVAL = 5;
|
||||||
static constexpr float PRESSURE_SCALE = 1. / 4096.;
|
static constexpr float PRESSURE_SCALE = 1.0f / 4096.0f;
|
||||||
static constexpr float TEMPERATURE_SCALE = 0.01;
|
static constexpr float TEMPERATURE_SCALE = 0.01f;
|
||||||
|
|
||||||
void LPS22Component::setup() {}
|
void LPS22Component::setup() {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue