1
0
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:
Iron Man 2024-04-23 22:29:30 +02:00 committed by GitHub
parent bfe072f7d8
commit cee308aab1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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_) {