mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
Update ds248x.cpp
Value stored to 'index' is never read
This commit is contained in:
parent
bfe072f7d8
commit
cee308aab1
@ -122,8 +122,6 @@ void DS248xComponent::setup() {
|
|||||||
this->found_channel_sensors_.push_back(channel);
|
this->found_channel_sensors_.push_back(channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
index = 0;
|
|
||||||
|
|
||||||
// DS2482_100
|
// DS2482_100
|
||||||
if (this->ds248x_type_ == DS248xType::DS2482_100) {
|
if (this->ds248x_type_ == DS248xType::DS2482_100) {
|
||||||
for (auto *sensor : this->sensors_) {
|
for (auto *sensor : this->sensors_) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user