mirror of
https://github.com/esphome/esphome.git
synced 2025-09-18 19:22:22 +01:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
namespace esphome {
|
||||
namespace ct_clamp {
|
||||
|
||||
static const char *TAG = "ct_clamp";
|
||||
static const char *const TAG = "ct_clamp";
|
||||
|
||||
void CTClampSensor::setup() {
|
||||
this->is_calibrating_offset_ = true;
|
||||
|
Reference in New Issue
Block a user