From 1f3ff5bf09860287734763e18fbc73b51e14188c Mon Sep 17 00:00:00 2001 From: tetele Date: Wed, 23 Oct 2024 14:18:43 +0000 Subject: [PATCH] Remove unused attribution --- esphome/components/slow_pwm/slow_pwm_output.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/esphome/components/slow_pwm/slow_pwm_output.cpp b/esphome/components/slow_pwm/slow_pwm_output.cpp index 4fb0abcbcb..9b7ac93daf 100644 --- a/esphome/components/slow_pwm/slow_pwm_output.cpp +++ b/esphome/components/slow_pwm/slow_pwm_output.cpp @@ -58,8 +58,6 @@ void SlowPWMOutput::loop() { this->current_period_ = (unsigned int) ((float) this->min_time_off_ / (1.0 - this->state_)); ESP_LOGVV(TAG, "Current cycle extended to %d ms to prevent off time of just %.0f ms", this->current_period_, required_time_off); - - scaled_state = (float) (this->current_period_ - this->min_time_off_); } if (this->max_period_ && this->current_period_ > this->max_period_) {