mirror of
https://github.com/esphome/esphome.git
synced 2025-09-27 15:42:22 +01: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:
@@ -29,7 +29,7 @@ static const uint8_t LCD_DISPLAY_FUNCTION_2_LINE = 0x08;
|
||||
static const uint8_t LCD_DISPLAY_FUNCTION_5X10_DOTS = 0x04;
|
||||
|
||||
void LCDDisplay::setup() {
|
||||
this->buffer_ = new uint8_t[this->rows_ * this->columns_];
|
||||
this->buffer_ = new uint8_t[this->rows_ * this->columns_]; // NOLINT
|
||||
for (uint8_t i = 0; i < this->rows_ * this->columns_; i++)
|
||||
this->buffer_[i] = ' ';
|
||||
|
||||
|
Reference in New Issue
Block a user