Revert "ofw pr 4316 MIFARE Plus 2K Cards in SL1 Mode"

This reverts commit 647e65cfae.
This commit is contained in:
MX
2025-12-16 17:40:56 +03:00
parent c6cdaccc87
commit 7be5ea8a00
29 changed files with 36 additions and 74 deletions

View File

@@ -63,7 +63,7 @@ bool mf_classic_key_cache_save(MfClassicKeyCache* instance, const MfClassicData*
if(!flipper_format_write_hex_uint64(ff, "Key A map", &data->key_a_mask, 1)) break;
if(!flipper_format_write_hex_uint64(ff, "Key B map", &data->key_b_mask, 1)) break;
uint8_t sector_num = mf_classic_get_scannable_sectors_num(data->type);
uint8_t sector_num = mf_classic_get_total_sectors_num(data->type);
bool key_save_success = true;
for(size_t i = 0; (i < sector_num) && (key_save_success); i++) {
MfClassicSectorTrailer* sec_tr = mf_classic_get_sector_trailer_by_sector(data, i);

View File

@@ -8,7 +8,7 @@ void nfc_render_mf_classic_info(
FuriString* str) {
nfc_render_iso14443_3a_info(data->iso14443_3a_data, format_type, str);
uint8_t sectors_total = mf_classic_get_scannable_sectors_num(data->type);
uint8_t sectors_total = mf_classic_get_total_sectors_num(data->type);
uint8_t keys_total = sectors_total * 2;
uint8_t keys_found = 0;
uint8_t sectors_read = 0;