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:
Otto WinterandJesse Hills authored and GitHub committed 2021-09-13 11:31:02 +02:00
1 parent e0cff214b2
commit a4867a00ea
75 files changed
+293 -321

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
#include "tm1651.h"
#include "esphome/core/log.h"
#include "esphome/core/helpers.h"
namespace esphome {
namespace tm1651 {
@@ -19,7 +20,7 @@ void TM1651Display::setup() {
uint8_t clk = clk_pin_->get_pin();
uint8_t dio = dio_pin_->get_pin();
battery_display_ = new TM1651(clk, dio);
battery_display_ = make_unique<TM1651>(clk, dio);
battery_display_->init();
battery_display_->clearDisplay();
}