mirror of
https://github.com/esphome/esphome.git
synced 2025-10-04 19:03:47 +01:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
namespace esphome {
|
||||
namespace pzemdc {
|
||||
|
||||
static const char *TAG = "pzemdc";
|
||||
static const char *const TAG = "pzemdc";
|
||||
|
||||
static const uint8_t PZEM_CMD_READ_IN_REGISTERS = 0x04;
|
||||
static const uint8_t PZEM_REGISTER_COUNT = 10; // 10x 16-bit registers
|
||||
|
Reference in New Issue
Block a user