mirror of
https://github.com/esphome/esphome.git
synced 2026-10-04 18:11:29 +00:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
namespace esphome {
|
||||
namespace uart {
|
||||
|
||||
static const char *TAG = "uart";
|
||||
static const char *const TAG = "uart";
|
||||
|
||||
size_t UARTComponent::write(uint8_t data) {
|
||||
this->write_byte(data);
|
||||
|
||||
Reference in New Issue
Block a user