clang-tidy

This commit is contained in:
Tomasz Duda 2024-08-09 20:58:12 +02:00
parent 8475ae0dd5
commit 73a63e8dbb
4 changed files with 3 additions and 4 deletions

View file

@ -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");

View file

@ -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,

View file

@ -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.

View file

@ -254,8 +254,6 @@ def main():
"e131",
"haier",
"improv_serial",
"lvgl",
"fingerprint_grow",
"md5",
"mlx90393",
"online_image",