mirror of
https://github.com/esphome/esphome.git
synced 2025-10-05 03:13:49 +01:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
namespace esphome {
|
||||
namespace ds1307 {
|
||||
|
||||
static const char *TAG = "ds1307";
|
||||
static const char *const TAG = "ds1307";
|
||||
|
||||
void DS1307Component::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Setting up DS1307...");
|
||||
|
Reference in New Issue
Block a user