From cb47f6fe368a0b3e22291396ef09d770e7364e71 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Wed, 7 May 2025 15:58:55 +0800 Subject: wip: enroll. --- fpm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fpm.c') diff --git a/fpm.c b/fpm.c index a58045e..84a64fe 100644 --- a/fpm.c +++ b/fpm.c @@ -152,7 +152,7 @@ uint8_t fpm_init(void) return check_pwd(); } -uint8_t fpm_getcfg(struct fpm_cfg *cfg) +uint8_t fpm_get_cfg(struct fpm_cfg *cfg) { uint16_t n; uint8_t buf[MAXPDLEN]; @@ -179,7 +179,7 @@ uint8_t fpm_getcfg(struct fpm_cfg *cfg) return 0; } -uint8_t fpm_setpwd(uint32_t pwd) +uint8_t fpm_set_pwd(uint32_t pwd) { uint16_t n; uint8_t buf[MAXPDLEN]; @@ -249,7 +249,7 @@ uint8_t fpm_match(void) return buf[0] == OK; } -uint8_t fpm_delete_all(void) +uint8_t fpm_clear_db(void) { uint16_t n; uint8_t buf[MAXPDLEN]; -- cgit v1.2.3