mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
don't publish dallas if there are none
This commit is contained in:
@@ -68,6 +68,10 @@ class DallasSensor {
|
||||
return sensorfails_;
|
||||
}
|
||||
|
||||
bool dallas_enabled() {
|
||||
return (dallas_gpio_ != 0);
|
||||
}
|
||||
|
||||
private:
|
||||
static constexpr uint8_t MAX_SENSORS = 20;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user