mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 05:54:56 +01:00
commit
b660e5a7fa
2 changed files with 3 additions and 2 deletions
|
@ -68,7 +68,8 @@ class NeoPixelBusLightOutputBase : public light::AddressableLight {
|
||||||
void add_leds(uint16_t count_pixels) { this->add_leds(new NeoPixelBus<T_COLOR_FEATURE, T_METHOD>(count_pixels)); }
|
void add_leds(uint16_t count_pixels) { this->add_leds(new NeoPixelBus<T_COLOR_FEATURE, T_METHOD>(count_pixels)); }
|
||||||
void add_leds(NeoPixelBus<T_COLOR_FEATURE, T_METHOD> *controller) {
|
void add_leds(NeoPixelBus<T_COLOR_FEATURE, T_METHOD> *controller) {
|
||||||
this->controller_ = controller;
|
this->controller_ = controller;
|
||||||
this->controller_->Begin();
|
// controller gets initialised in setup() - avoid calling twice (crashes with RMT)
|
||||||
|
// this->controller_->Begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
// ========== INTERNAL METHODS ==========
|
// ========== INTERNAL METHODS ==========
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
MAJOR_VERSION = 1
|
MAJOR_VERSION = 1
|
||||||
MINOR_VERSION = 17
|
MINOR_VERSION = 17
|
||||||
PATCH_VERSION = "1"
|
PATCH_VERSION = "2"
|
||||||
__short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}"
|
__short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}"
|
||||||
__version__ = f"{__short_version__}.{PATCH_VERSION}"
|
__version__ = f"{__short_version__}.{PATCH_VERSION}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue