otp must be initialized when selection fido or management applets.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2023-11-16 20:12:48 +01:00
parent d985cf6301
commit 34bfc3b2ef
2 changed files with 4 additions and 0 deletions

View File

@@ -398,8 +398,10 @@ void scan_all() {
scan_files();
}
extern void init_otp();
void init_fido() {
scan_all();
init_otp();
}
bool wait_button_pressed() {