mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 05:13:31 +02:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
namespace esphome {
|
||||
namespace xiaomi_gcls002 {
|
||||
|
||||
static const char *TAG = "xiaomi_gcls002";
|
||||
static const char *const TAG = "xiaomi_gcls002";
|
||||
|
||||
void XiaomiGCLS002::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "Xiaomi GCLS002");
|
||||
|
||||
Reference in New Issue
Block a user