fix nfc device typo, doesn’t affect resulting keys

This commit is contained in:
MX 2022-09-26 19:46:12 +03:00
parent a9210b2849
commit 60242cd7c4
No known key found for this signature in database
GPG key ID: 6C4C311DFD4B4AB5

View file

@ -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);