examples, test and utils use now nfc_exit() function.
This commit is contained in:
parent
1d55b6f8c6
commit
207199dc34
25 changed files with 59 additions and 9 deletions
|
|
@ -51,4 +51,5 @@ test_access_storm (void)
|
|||
|
||||
n--;
|
||||
}
|
||||
nfc_exit ();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ cut_teardown (void)
|
|||
{
|
||||
nfc_close (devices[TARGET]);
|
||||
nfc_close (devices[INITIATOR]);
|
||||
nfc_exit ();
|
||||
}
|
||||
|
||||
struct thread_data {
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ cut_teardown (void)
|
|||
{
|
||||
nfc_close (devices[TARGET]);
|
||||
nfc_close (devices[INITIATOR]);
|
||||
nfc_exit ();
|
||||
}
|
||||
|
||||
struct thread_data {
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ cut_teardown (void)
|
|||
{
|
||||
nfc_close (second_device);
|
||||
nfc_close (first_device);
|
||||
nfc_exit ();
|
||||
}
|
||||
|
||||
struct thread_data {
|
||||
|
|
|
|||
|
|
@ -44,4 +44,5 @@ test_register_endianness (void)
|
|||
cut_assert_equal_uint (0x55, value, cut_message ("check register value"));
|
||||
|
||||
nfc_close (device);
|
||||
nfc_exit ();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,4 +35,5 @@ test_register_endianness (void)
|
|||
cut_assert_equal_int (0, res, cut_message ("read register 0xFFF0"));
|
||||
|
||||
nfc_close (device);
|
||||
nfc_exit ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue