summaryrefslogtreecommitdiffstats
path: root/r503.c
diff options
context:
space:
mode:
Diffstat (limited to 'r503.c')
-rw-r--r--r503.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/r503.c b/r503.c
index 136b31c..d1483a0 100644
--- a/r503.c
+++ b/r503.c
@@ -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;