From 145aef96ac4236661786638a171bcfb7206e9376 Mon Sep 17 00:00:00 2001 From: Yukai Li Date: Fri, 7 Oct 2022 00:31:05 -0600 Subject: [PATCH] nfc: Set default MFUL password input to 0xFFFFFFFF --- applications/main/nfc/scenes/nfc_scene_mf_ultralight_key_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/main/nfc/scenes/nfc_scene_mf_ultralight_key_input.c b/applications/main/nfc/scenes/nfc_scene_mf_ultralight_key_input.c index 089187d5b..3b040fa16 100644 --- a/applications/main/nfc/scenes/nfc_scene_mf_ultralight_key_input.c +++ b/applications/main/nfc/scenes/nfc_scene_mf_ultralight_key_input.c @@ -9,6 +9,7 @@ void nfc_scene_mf_ultralight_key_input_byte_input_callback(void* context) { void nfc_scene_mf_ultralight_key_input_on_enter(void* context) { Nfc* nfc = context; + memset(nfc->byte_input_store, 0xFF, 4); // Default to 0xFFFFFFFF // Setup view ByteInput* byte_input = nfc->byte_input; byte_input_set_header_text(byte_input, "Enter the password in hex");