mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 06:04:01 +00:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
namespace esphome {
|
||||
namespace hmc5883l {
|
||||
|
||||
static const char *TAG = "hmc5883l";
|
||||
static const char *const TAG = "hmc5883l";
|
||||
static const uint8_t HMC5883L_ADDRESS = 0x1E;
|
||||
static const uint8_t HMC5883L_REGISTER_CONFIG_A = 0x00;
|
||||
static const uint8_t HMC5883L_REGISTER_CONFIG_B = 0x01;
|
||||
|
||||
Reference in New Issue
Block a user