summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fpm.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/fpm.c b/fpm.c
index e85ee94..862b938 100644
--- a/fpm.c
+++ b/fpm.c
@@ -162,16 +162,7 @@ static inline uint8_t img2tz(uint8_t bufid)
uint8_t fpm_init(void)
{
- uint8_t rc, wt = 100;
- uint16_t dt = 0;
-
- do {
- rc = check_pwd();
- dt += wt;
- _delay_ms(wt);
- } while (rc == 0 && dt < 500);
-
- return rc;
+ return check_pwd();
}
uint8_t fpm_get_cfg(struct fpm_cfg *cfg)