mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +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:
		| @@ -117,7 +117,7 @@ float MAX7219Component::get_setup_priority() const { return setup_priority::PROC | ||||
| void MAX7219Component::setup() { | ||||
|   ESP_LOGCONFIG(TAG, "Setting up MAX7219..."); | ||||
|   this->spi_setup(); | ||||
|   this->buffer_ = new uint8_t[this->num_chips_ * 8]; | ||||
|   this->buffer_ = new uint8_t[this->num_chips_ * 8];  // NOLINT | ||||
|   for (uint8_t i = 0; i < this->num_chips_ * 8; i++) | ||||
|     this->buffer_[i] = 0; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user