From e6ff3c287dad71fa80ba97d551314303a91c7e08 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Wed, 24 Apr 2019 14:31:51 +0200 Subject: [PATCH] Update addressable_light_effect.h --- esphome/components/light/addressable_light_effect.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/esphome/components/light/addressable_light_effect.h b/esphome/components/light/addressable_light_effect.h index 07b0ee34de..4218a8f54c 100644 --- a/esphome/components/light/addressable_light_effect.h +++ b/esphome/components/light/addressable_light_effect.h @@ -31,13 +31,9 @@ class AddressableLightEffect : public LightEffect { void start_internal() override { this->get_addressable_()->set_effect_active(true); this->get_addressable_()->clear_effect_data(); - this->high_freq_.start(); this->start(); } - void stop() override { - this->get_addressable_()->set_effect_active(false); - this->high_freq_.stop(); - } + void stop() override { this->get_addressable_()->set_effect_active(false); } virtual void apply(AddressableLight &it, const ESPColor ¤t_color) = 0; void apply() override { LightColorValues color = this->state_->remote_values; @@ -50,8 +46,6 @@ class AddressableLightEffect : public LightEffect { protected: AddressableLight *get_addressable_() const { return (AddressableLight *) this->state_->get_output(); } - - HighFrequencyLoopRequester high_freq_; }; class AddressableLambdaLightEffect : public AddressableLightEffect {