mirror of
https://github.com/esphome/esphome.git
synced 2025-09-18 03:02:20 +01:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
namespace esphome {
|
||||
namespace ledc {
|
||||
|
||||
static const char *TAG = "ledc.output";
|
||||
static const char *const TAG = "ledc.output";
|
||||
|
||||
void LEDCOutput::write_state(float state) {
|
||||
if (this->pin_->is_inverted())
|
||||
|
Reference in New Issue
Block a user