Rename DESFIRE_4K to DESFIRE.

The code can work with virtually any size of DESFire (since the operating
system embedded in the card handle almost everything), so there is no need for
us to distinguish cards of different sizes.
This commit is contained in:
Romain Tartiere 2010-07-27 08:44:12 +00:00
parent eca3c540ad
commit 9872a1b087
7 changed files with 12 additions and 26 deletions

View file

@ -46,7 +46,7 @@ cut_setup ()
tag = NULL;
for (int i=0; tags[i]; i++) {
if (freefare_get_tag_type(tags[i]) == DESFIRE_4K) {
if (freefare_get_tag_type(tags[i]) == DESFIRE) {
tag = tags[i];
res = mifare_desfire_connect (tag);
cut_assert_equal_int (0, res, cut_message ("mifare_desfire_connect() failed"));