mirror of
https://github.com/esphome/esphome.git
synced 2025-10-28 13:43:54 +00:00
Activate owning-memory clang-tidy check (#1891)
* Activate owning-memory clang-tidy check * Lint * Lint * Fix issue with new NfcTag constructor * Update pointers for number and select * Add back the NOLINT to display buffer * Fix merge * DSMR fixes * Nextion fixes * Fix pipsolar * Fix lwip socket * Format * Change socket fix Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -10,7 +10,7 @@ void FastLEDLightOutput::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Setting up FastLED light...");
|
||||
this->controller_->init();
|
||||
this->controller_->setLeds(this->leds_, this->num_leds_);
|
||||
this->effect_data_ = new uint8_t[this->num_leds_];
|
||||
this->effect_data_ = new uint8_t[this->num_leds_]; // NOLINT
|
||||
if (!this->max_refresh_rate_.has_value()) {
|
||||
this->set_max_refresh_rate(this->controller_->getMaxRefreshRate());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user