diff --git a/esphome/components/fingerprint_grow/fingerprint_grow.cpp b/esphome/components/fingerprint_grow/fingerprint_grow.cpp index c2cab368c9..0dfea49b8b 100644 --- a/esphome/components/fingerprint_grow/fingerprint_grow.cpp +++ b/esphome/components/fingerprint_grow/fingerprint_grow.cpp @@ -307,7 +307,7 @@ void FingerprintGrowComponent::delete_fingerprint(uint16_t finger_id) { void FingerprintGrowComponent::delete_all_fingerprints() { ESP_LOGI(TAG, "Deleting all stored fingerprints"); - this->data_ = {EMPTY}; + this->data_ = {DELETE_ALL}; switch (this->send_command_()) { case OK: ESP_LOGI(TAG, "Deleted all fingerprints"); diff --git a/esphome/components/fingerprint_grow/fingerprint_grow.h b/esphome/components/fingerprint_grow/fingerprint_grow.h index 20ff60997b..e0a0180c1b 100644 --- a/esphome/components/fingerprint_grow/fingerprint_grow.h +++ b/esphome/components/fingerprint_grow/fingerprint_grow.h @@ -36,7 +36,7 @@ enum GrowCommand { LOAD = 0x07, UPLOAD = 0x08, DELETE = 0x0C, - EMPTY = 0x0D, + DELETE_ALL = 0x0D, // EMPTY READ_SYS_PARAM = 0x0F, SET_PASSWORD = 0x12, VERIFY_PASSWORD = 0x13, diff --git a/platformio.ini b/platformio.ini index abd4de220f..4c4e2164c3 100644 --- a/platformio.ini +++ b/platformio.ini @@ -198,6 +198,7 @@ build_flags = lib_deps = bblanchon/ArduinoJson@7.0.0 ; json wjtje/qr-code-generator-library@1.7.0 ; qr_code + lvgl/lvgl@8.4.0 ; lvgl ; All the actual environments are defined below. diff --git a/script/clang-tidy b/script/clang-tidy index 18dbfb2b34..0662028b1b 100755 --- a/script/clang-tidy +++ b/script/clang-tidy @@ -254,8 +254,6 @@ def main(): "e131", "haier", "improv_serial", - "lvgl", - "fingerprint_grow", "md5", "mlx90393", "online_image",