mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Update fingerprint count after enroll (#1811)
This commit is contained in:
parent
56974153f1
commit
48b5ea9e59
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ void FingerprintGrowComponent::enroll_fingerprint(uint16_t finger_id, uint8_t nu
|
|||
void FingerprintGrowComponent::finish_enrollment(uint8_t result) {
|
||||
if (result == OK) {
|
||||
this->enrollment_done_callback_.call(this->enrollment_slot_);
|
||||
this->get_fingerprint_count_();
|
||||
} else {
|
||||
this->enrollment_failed_callback_.call(this->enrollment_slot_);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue