Use macros for referring system fids.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-04-17 19:43:10 +02:00
parent 25c93c279f
commit 8e8192362c
4 changed files with 20 additions and 14 deletions

View File

@@ -77,7 +77,7 @@ int cmd_initialize() {
}
}
else if (tag == 0x91) { //retries user pin
file_t *tf = search_file(0x1082);
file_t *tf = search_file(EF_PIN1_MAX_RETRIES);
if (tf && tf->data) {
file_put_data(tf, tag_data, tag_len);
}