mirror of
https://github.com/esphome/esphome.git
synced 2025-09-24 22:22:22 +01:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
namespace esphome {
|
||||
namespace pzemac {
|
||||
|
||||
static const char *TAG = "pzemac";
|
||||
static const char *const TAG = "pzemac";
|
||||
|
||||
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