mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-14 19:59:53 +03:00
auto-formatting
This commit is contained in:
@@ -104,14 +104,14 @@ class AnalogSensor {
|
|||||||
uint32_t last_polltime_ = 0; // for timer
|
uint32_t last_polltime_ = 0; // for timer
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint8_t gpio_;
|
uint8_t gpio_;
|
||||||
char name_[20];
|
char name_[20];
|
||||||
double offset_;
|
double offset_;
|
||||||
double factor_;
|
double factor_;
|
||||||
uint8_t uom_;
|
uint8_t uom_;
|
||||||
double value_; // double because of the factor is a double
|
double value_; // double because of the factor is a double
|
||||||
int8_t type_; // one of the AnalogType enum
|
int8_t type_; // one of the AnalogType enum
|
||||||
bool is_system_; // if true, the sensor is a system sensor
|
bool is_system_; // if true, the sensor is a system sensor
|
||||||
};
|
};
|
||||||
|
|
||||||
AnalogSensor() = default;
|
AnalogSensor() = default;
|
||||||
|
|||||||
Reference in New Issue
Block a user