NFC: fix NTAG203 info scene #2078

This commit is contained in:
gornekich 2022-12-02 16:41:34 +04:00 committed by GitHub
parent 79fbaf2620
commit e40376bc63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,6 +89,7 @@ void nfc_scene_nfc_data_info_on_enter(void* context) {
furi_string_cat_printf(temp_str, "\nPassword-protected");
} else if(data->auth_success) {
MfUltralightConfigPages* config_pages = mf_ultralight_get_config_pages(data);
if(config_pages) {
furi_string_cat_printf(
temp_str,
"\nPassword: %02X %02X %02X %02X",
@ -102,6 +103,7 @@ void nfc_scene_nfc_data_info_on_enter(void* context) {
config_pages->auth_data.pack.raw[0],
config_pages->auth_data.pack.raw[1]);
}
}
} else if(protocol == NfcDeviceProtocolMifareClassic) {
MfClassicData* data = &dev_data->mf_classic_data;
uint8_t sectors_total = mf_classic_get_total_sectors_num(data->type);