mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 16:47:57 +01:00
Update fingerprint count after enroll (#1811)
This commit is contained in:
parent
56974153f1
commit
48b5ea9e59
@ -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 New Issue
Block a user