1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

Update fingerprint count after enroll (#1811)

This commit is contained in:
Roberto Wagner
2021-05-31 21:22:09 -03:00
committed by GitHub
parent 56974153f1
commit 48b5ea9e59

View File

@@ -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_);
}