mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-01 10:38:27 +02:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
namespace esphome {
|
||||
namespace sgp30 {
|
||||
|
||||
static const char *TAG = "sgp30";
|
||||
static const char *const TAG = "sgp30";
|
||||
|
||||
static const uint16_t SGP30_CMD_GET_SERIAL_ID = 0x3682;
|
||||
static const uint16_t SGP30_CMD_GET_FEATURESET = 0x202f;
|
||||
|
||||
Reference in New Issue
Block a user