mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 09:08:35 -07:00
Revert NFC u2f
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user