mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-24 22:58:30 +02:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace esphome {
|
||||
namespace uart {
|
||||
static const char *TAG = "uart_esp32";
|
||||
static const char *const TAG = "uart_esp32";
|
||||
uint8_t next_uart_num = 1;
|
||||
|
||||
static const uint32_t UART_PARITY_EVEN = 0 << 0;
|
||||
|
||||
Reference in New Issue
Block a user