diff options
| -rw-r--r-- | r503.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -259,7 +259,7 @@ uint8_t fpm_enroll(void) uint8_t buf[MAXPDLEN]; fpm_get_cfg(&cfg); - n = fpm_get_count(); + n = fpm_get_count() + 1; if (n >= cfg.cap) return 0; |
![]() |
index : avr-fpm-drivers | |
| FPM10A and R503 fingerprint sensor drivers for AVR microcontrollers. |
| summaryrefslogtreecommitdiffstats |
| -rw-r--r-- | r503.c | 2 |
@@ -259,7 +259,7 @@ uint8_t fpm_enroll(void) uint8_t buf[MAXPDLEN]; fpm_get_cfg(&cfg); - n = fpm_get_count(); + n = fpm_get_count() + 1; if (n >= cfg.cap) return 0; |