mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-18 20:23:27 +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_miscale2 {
|
||||
|
||||
static const char *TAG = "xiaomi_miscale2";
|
||||
static const char *const TAG = "xiaomi_miscale2";
|
||||
|
||||
void XiaomiMiscale2::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "Xiaomi Miscale2");
|
||||
|
||||
Reference in New Issue
Block a user