examples, test and utils use now nfc_exit() function.

This commit is contained in:
Audrey Diacre
2012-01-18 11:36:18 +00:00
parent 1d55b6f8c6
commit 207199dc34
25 changed files with 59 additions and 9 deletions
+1
View File
@@ -51,4 +51,5 @@ test_access_storm (void)
n--;
}
nfc_exit ();
}
+1
View File
@@ -43,6 +43,7 @@ cut_teardown (void)
{
nfc_close (devices[TARGET]);
nfc_close (devices[INITIATOR]);
nfc_exit ();
}
struct thread_data {
+1
View File
@@ -43,6 +43,7 @@ cut_teardown (void)
{
nfc_close (devices[TARGET]);
nfc_close (devices[INITIATOR]);
nfc_exit ();
}
struct thread_data {
+1
View File
@@ -41,6 +41,7 @@ cut_teardown (void)
{
nfc_close (second_device);
nfc_close (first_device);
nfc_exit ();
}
struct thread_data {
+1
View File
@@ -44,4 +44,5 @@ test_register_endianness (void)
cut_assert_equal_uint (0x55, value, cut_message ("check register value"));
nfc_close (device);
nfc_exit ();
}
+1
View File
@@ -35,4 +35,5 @@ test_register_endianness (void)
cut_assert_equal_int (0, res, cut_message ("read register 0xFFF0"));
nfc_close (device);
nfc_exit ();
}