mirror of
https://github.com/esphome/esphome.git
synced 2025-01-21 20:06:01 +01:00
Update esphome/components/lps22/lps22.h
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
7385ef9066
commit
a1b395dbee
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ namespace lps22 {
|
|||
|
||||
class LPS22Component : public sensor::Sensor, public PollingComponent, public i2c::I2CDevice {
|
||||
public:
|
||||
void set_temperature_sensor(sensor::Sensor *temperature_sensor) { temperature_sensor_ = temperature_sensor; }
|
||||
void set_pressure_sensor(sensor::Sensor *pressure_sensor) { pressure_sensor_ = pressure_sensor; }
|
||||
void set_temperature_sensor(sensor::Sensor *temperature_sensor) { this->temperature_sensor_ = temperature_sensor; }
|
||||
void set_pressure_sensor(sensor::Sensor *pressure_sensor) { this->pressure_sensor_ = pressure_sensor; }
|
||||
|
||||
|
||||
void setup() override;
|
||||
|
|
Loading…
Reference in a new issue