diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2025-05-24 15:15:09 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2025-05-24 15:15:09 +0800 |
| commit | 31c70ef771e5954dffc5629700e28a89e8ecd493 (patch) | |
| tree | 5bd51a0d83363aaae42b55085de4c45862148f0c /lock/client.c | |
| parent | 359b3abb10d57a0c7eca8cc7dea16f26f3359d33 (diff) | |
| download | smart-home-31c70ef771e5954dffc5629700e28a89e8ecd493.tar.gz | |
Update FPM driver and enroll if there are no finger prints.
Diffstat (limited to 'lock/client.c')
| -rw-r--r-- | lock/client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lock/client.c b/lock/client.c index c5e8729..2173987 100644 --- a/lock/client.c +++ b/lock/client.c @@ -67,7 +67,10 @@ int main(void) wdt_off(); led_init(); + fpm_init(); + if (fpm_get_count() == 0) + fpm_enroll(); init_rx(); init_btns(); |
