mirror of
https://github.com/esphome/esphome.git
synced 2025-10-01 09:32:21 +01:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
namespace esphome {
|
||||
namespace xiaomi_ble {
|
||||
|
||||
static const char *TAG = "xiaomi_ble";
|
||||
static const char *const TAG = "xiaomi_ble";
|
||||
|
||||
bool parse_xiaomi_value(uint8_t value_type, const uint8_t *data, uint8_t value_length, XiaomiParseResult &result) {
|
||||
// motion detection, 1 byte, 8-bit unsigned integer
|
||||
|
Reference in New Issue
Block a user