mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-28 01:58:11 -07:00
Properly reset the NFC device data
This commit is contained in:
@@ -1631,6 +1631,9 @@ void nfc_device_data_clear(NfcDeviceData* dev_data) {
|
||||
} else if(dev_data->protocol == NfcDeviceProtocolEMV) {
|
||||
memset(&dev_data->emv_data, 0, sizeof(EmvData));
|
||||
}
|
||||
|
||||
furi_string_reset(dev_data->parsed_data);
|
||||
|
||||
memset(&dev_data->nfc_data, 0, sizeof(FuriHalNfcDevData));
|
||||
dev_data->protocol = NfcDeviceProtocolUnknown;
|
||||
furi_string_reset(dev_data->parsed_data);
|
||||
|
||||
Reference in New Issue
Block a user