mirror of
https://github.com/esphome/esphome.git
synced 2025-10-20 10:43:48 +01:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
namespace esphome {
|
||||
namespace ble_client {
|
||||
|
||||
static const char *TAG = "ble_switch";
|
||||
static const char *const TAG = "ble_switch";
|
||||
|
||||
void BLEClientSwitch::write_state(bool state) {
|
||||
this->parent_->set_enabled(state);
|
||||
|
Reference in New Issue
Block a user