Skip to content

Commit

Permalink
Fix limited_credit_value having wrong value in mf_desfire_file_settin…
Browse files Browse the repository at this point in the history
…gs_parse (#3204)

Co-authored-by: hedger <[email protected]>
Co-authored-by: あく <[email protected]>
  • Loading branch information
3 people authored Nov 15, 2023
1 parent 49dcf81 commit dc246dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nfc/protocols/mf_desfire/mf_desfire_i.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ bool mf_desfire_file_settings_parse(MfDesfireFileSettings* data, const BitBuffer

data->value.lo_limit = layout.value.lo_limit;
data->value.hi_limit = layout.value.hi_limit;
data->value.limited_credit_value = layout.value.hi_limit;
data->value.limited_credit_value = layout.value.limited_credit_value;
data->value.limited_credit_enabled = layout.value.limited_credit_enabled;

} else if(
Expand Down

0 comments on commit dc246dd

Please sign in to comment.