mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
clang-tidy
This commit is contained in:
parent
8475ae0dd5
commit
73a63e8dbb
4 changed files with 3 additions and 4 deletions
|
@ -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");
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -254,8 +254,6 @@ def main():
|
|||
"e131",
|
||||
"haier",
|
||||
"improv_serial",
|
||||
"lvgl",
|
||||
"fingerprint_grow",
|
||||
"md5",
|
||||
"mlx90393",
|
||||
"online_image",
|
||||
|
|
Loading…
Reference in a new issue