Rename desfire_error_lookup() into mifare_desfire_error_lookup() for consistency with the rest of the code.
This commit is contained in:
parent
ff7f136fbe
commit
d59e197ff9
4 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ uint8_t key_data_3des[16] = { 'C', 'a', 'r', 'd', ' ', 'M', 'a', 's', 't', 'e',
|
|||
#define cut_assert_success(last_command) \
|
||||
do { \
|
||||
if ((res < 0) || (MIFARE_DESFIRE (tag)->last_picc_error != OPERATION_OK)) { \
|
||||
cut_fail ("%s returned %d, error: %s, errno: %s\n", last_command, res, desfire_error_lookup (MIFARE_DESFIRE (tag)->last_picc_error), strerror (errno)); \
|
||||
cut_fail ("%s returned %d, error: %s, errno: %s\n", last_command, res, mifare_desfire_error_lookup (MIFARE_DESFIRE (tag)->last_picc_error), strerror (errno)); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue