mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +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);
|
||||
}
|
||||
|
||||
index = 0;
|
||||
|
||||
// DS2482_100
|
||||
if (this->ds248x_type_ == DS248xType::DS2482_100) {
|
||||
for (auto *sensor : this->sensors_) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user