mirror of
https://github.com/esphome/esphome.git
synced 2025-10-03 18:42:23 +01:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
namespace esphome {
|
||||
namespace xiaomi_cgdk2 {
|
||||
|
||||
static const char *TAG = "xiaomi_cgdk2";
|
||||
static const char *const TAG = "xiaomi_cgdk2";
|
||||
|
||||
void XiaomiCGDK2::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "Xiaomi CGDK2");
|
||||
|
Reference in New Issue
Block a user