Don't use deprecated cutter API.
This commit is contained in:
parent
99b261d132
commit
1f8589f2ae
2 changed files with 4 additions and 4 deletions
|
@ -25,7 +25,7 @@ static MifareTag *tags = NULL;
|
|||
MifareTag tag = NULL;
|
||||
|
||||
void
|
||||
setup ()
|
||||
cut_setup ()
|
||||
{
|
||||
int res;
|
||||
|
||||
|
@ -53,7 +53,7 @@ setup ()
|
|||
}
|
||||
|
||||
void
|
||||
teardown ()
|
||||
cut_teardown ()
|
||||
{
|
||||
if (tag)
|
||||
mifare_classic_disconnect (tag);
|
||||
|
|
|
@ -25,7 +25,7 @@ static MifareTag *tags = NULL;
|
|||
MifareTag tag = NULL;
|
||||
|
||||
void
|
||||
setup ()
|
||||
cut_setup ()
|
||||
{
|
||||
int res;
|
||||
|
||||
|
@ -52,7 +52,7 @@ setup ()
|
|||
}
|
||||
|
||||
void
|
||||
teardown ()
|
||||
cut_teardown ()
|
||||
{
|
||||
if (tag)
|
||||
mifare_ultralight_disconnect (tag);
|
||||
|
|
Loading…
Reference in a new issue