Skip to content

Commit

Permalink
fix nfc device typo, doesn’t affect resulting keys
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed Sep 26, 2022
1 parent a9210b2 commit 60242cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nfc/nfc_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ static bool nfc_device_save_mifare_classic_keys(NfcDevice* dev) {
flipper_format_write_hex(file, string_get_cstr(temp_str), sec_tr->key_a, 6);
}
if(!key_save_success) break;
if(FURI_BIT(data->key_a_mask, i)) {
if(FURI_BIT(data->key_b_mask, i)) {
string_printf(temp_str, "Key B sector %d", i);
key_save_success =
flipper_format_write_hex(file, string_get_cstr(temp_str), sec_tr->key_b, 6);
Expand Down

0 comments on commit 60242cd

Please sign in to comment.