Initialize esp32_rmt_led_strip buffer (#8036)

This commit is contained in:
Peter Zich 2025-01-05 17:50:35 -08:00 committed by GitHub
parent 387bde665e
commit dc5b408748
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,6 +33,7 @@ void ESP32RMTLEDStripLightOutput::setup() {
this->mark_failed();
return;
}
memset(this->buf_, 0, buffer_size);
this->effect_data_ = allocator.allocate(this->num_leds_);
if (this->effect_data_ == nullptr) {