mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-20 04:53:28 +02:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
namespace esphome {
|
||||
namespace status {
|
||||
|
||||
static const char *TAG = "status";
|
||||
static const char *const TAG = "status";
|
||||
|
||||
void StatusBinarySensor::loop() {
|
||||
bool status = network_is_connected();
|
||||
|
||||
Reference in New Issue
Block a user