1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-05 18:30:57 +01:00

Update e131_addressable_light_effect.h

This commit is contained in:
Jesse Hills 2024-06-06 18:30:09 +12:00 committed by GitHub
parent 8ef4aaa70e
commit 03b2d3f9d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,7 @@ class E131AddressableLightEffect : public light::AddressableLightEffect {
void set_first_universe(int universe) { this->first_universe_ = universe; }
void set_channels(E131LightChannels channels) { this->channels_ = channels; }
void set_channel_offset(int offset) { this->channel_offset_ = offset; }
void set_e131(E131Component *e131) { this->e131_ = e131; }
protected:
@ -34,6 +35,7 @@ class E131AddressableLightEffect : public light::AddressableLightEffect {
int first_universe_{0};
int last_universe_{0};
int channel_offset_{0};
E131LightChannels channels_{E131_RGB};
E131Component *e131_{nullptr};