mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-04 20:09:35 +02:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
namespace esphome {
|
||||
namespace dht12 {
|
||||
|
||||
static const char *TAG = "dht12";
|
||||
static const char *const TAG = "dht12";
|
||||
|
||||
void DHT12Component::update() {
|
||||
uint8_t data[5];
|
||||
|
||||
Reference in New Issue
Block a user