Revert NFC u2f

This commit is contained in:
VerstreuteSeele
2023-01-14 09:00:41 +01:00
parent 905bb23fdf
commit 49dabee42f
13 changed files with 65 additions and 308 deletions

View File

@@ -101,7 +101,6 @@ void u2f_scene_main_on_enter(void* context) {
if(app->u2f_ready == true) {
u2f_set_event_callback(app->u2f_instance, u2f_scene_main_event_callback, app);
app->u2f_hid = u2f_hid_start(app->u2f_instance);
app->u2f_nfc = u2f_nfc_start(app->u2f_instance);
u2f_view_set_ok_callback(app->u2f_view, u2f_scene_main_ok_callback, app);
} else {
u2f_free(app->u2f_instance);
@@ -118,7 +117,6 @@ void u2f_scene_main_on_exit(void* context) {
furi_timer_free(app->timer);
if(app->u2f_ready == true) {
u2f_hid_stop(app->u2f_hid);
u2f_nfc_stop(app->u2f_nfc);
u2f_free(app->u2f_instance);
}
}