Avoid non-const globals and enable clang-tidy check (#1892)

This commit is contained in:
Stefan Agner authored and GitHub committed 2021-06-11 08:19:44 +12:00
1 parent 360effcb72
commit 501f88ca86
376 files changed
+466 -468

No files matched your search

@@ -6,7 +6,7 @@
namespace esphome {
namespace bme680_bsec {
#ifdef USE_BSEC
static const char *TAG = "bme680_bsec.sensor";
static const char *const TAG = "bme680_bsec.sensor";
static const std::string IAQ_ACCURACY_STATES[4] = {"Stabilizing", "Uncertain", "Calibrating", "Calibrated"};