Merge de libfreefare-ultralight branch into trunk (Mifare UltraLightC support).
This commit is contained in:
parent
e4057ef163
commit
82a7b8df66
8 changed files with 210 additions and 32 deletions
|
|
@ -48,7 +48,8 @@ cut_setup ()
|
|||
|
||||
tag = NULL;
|
||||
for (int i=0; tags[i]; i++) {
|
||||
if (freefare_get_tag_type(tags[i]) == ULTRALIGHT) {
|
||||
if ((freefare_get_tag_type(tags[i]) == ULTRALIGHT) ||
|
||||
(freefare_get_tag_type(tags[i]) == ULTRALIGHT_C)) {
|
||||
tag = tags[i];
|
||||
res = mifare_ultralight_connect (tag);
|
||||
cut_assert_equal_int (0, res, cut_message ("mifare_ultralight_connect() failed"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue