Don't use deprecated cutter API.

This commit is contained in:
Romain Tartiere 2010-04-26 09:11:28 +00:00
parent 99b261d132
commit 1f8589f2ae
2 changed files with 4 additions and 4 deletions

View file

@ -25,7 +25,7 @@ static MifareTag *tags = NULL;
MifareTag tag = NULL; MifareTag tag = NULL;
void void
setup () cut_setup ()
{ {
int res; int res;
@ -53,7 +53,7 @@ setup ()
} }
void void
teardown () cut_teardown ()
{ {
if (tag) if (tag)
mifare_classic_disconnect (tag); mifare_classic_disconnect (tag);

View file

@ -25,7 +25,7 @@ static MifareTag *tags = NULL;
MifareTag tag = NULL; MifareTag tag = NULL;
void void
setup () cut_setup ()
{ {
int res; int res;
@ -52,7 +52,7 @@ setup ()
} }
void void
teardown () cut_teardown ()
{ {
if (tag) if (tag)
mifare_ultralight_disconnect (tag); mifare_ultralight_disconnect (tag);