No need to connect/disconnect FeliCa targets.
This commit is contained in:
parent
6049acaf5a
commit
ac50476c99
5 changed files with 0 additions and 59 deletions
|
|
@ -51,8 +51,6 @@ cut_setup (void)
|
|||
for (int i=0; tags[i]; i++) {
|
||||
if (freefare_get_tag_type(tags[i]) == FELICA) {
|
||||
tag = tags[i];
|
||||
res = felica_connect (tag);
|
||||
cut_assert_equal_int (0, res, cut_message ("felica_connect() failed"));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -67,9 +65,6 @@ cut_setup (void)
|
|||
void
|
||||
cut_teardown (void)
|
||||
{
|
||||
if (tag)
|
||||
mifare_classic_disconnect (tag);
|
||||
|
||||
if (tags) {
|
||||
freefare_free_tags (tags);
|
||||
tags = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue