Skip to content

Commit

Permalink
nfc: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
gornekich committed Aug 7, 2022
1 parent 64f4aff commit b058a09
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/nfc/nfc_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ bool nfc_device_load_mifare_ul_data(FlipperFormat* file, NfcDevice* dev) {
do {
// Read Mifare Ultralight format version
if(!flipper_format_read_uint32(file, "Data format version", &data_format_version, 1)) {
// Load unread sectors with zero keys access for backward compatability
if(!flipper_format_rewind(file)) break;
}

Expand Down Expand Up @@ -1207,7 +1206,6 @@ void nfc_device_data_clear(NfcDeviceData* dev_data) {
memset(&dev_data->mf_classic_data, 0, sizeof(MfClassicData));
} else if(dev_data->protocol == NfcDeviceProtocolMifareUl) {
mf_ul_reset(&dev_data->mf_ul_data);
// memset(&dev_data->mf_ul_data, 0, sizeof(MfUltralightData));
} else if(dev_data->protocol == NfcDeviceProtocolEMV) {
memset(&dev_data->emv_data, 0, sizeof(EmvData));
}
Expand Down

0 comments on commit b058a09

Please sign in to comment.