mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
namespace esphome {
|
||||
namespace xiaomi_cgd1 {
|
||||
|
||||
static const char *TAG = "xiaomi_cgd1";
|
||||
static const char *const TAG = "xiaomi_cgd1";
|
||||
|
||||
void XiaomiCGD1::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "Xiaomi CGD1");
|
||||
|
||||
Reference in New Issue
Block a user