mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-30 21:58:55 -07:00
nfc: Fix MFUL auth counter loading
This commit is contained in:
@@ -213,6 +213,8 @@ bool nfc_device_load_mifare_ul_data(FlipperFormat* file, NfcDevice* dev) {
|
||||
uint32_t auth_counter;
|
||||
if(!flipper_format_read_uint32(file, "Failed authentication attempts", &auth_counter, 1))
|
||||
auth_counter = 0;
|
||||
data->curr_authlim = auth_counter;
|
||||
|
||||
|
||||
parsed = true;
|
||||
} while(false);
|
||||
|
||||
Reference in New Issue
Block a user