nfc_list_devices() function returns now the number of devices found.
This commit is contained in:
parent
00818e048c
commit
1ec504e163
12 changed files with 23 additions and 34 deletions
|
|
@ -10,10 +10,9 @@ void
|
|||
test_register_endianness (void)
|
||||
{
|
||||
nfc_connstring connstrings[MAX_DEVICE_COUNT];
|
||||
size_t device_count;
|
||||
int res = 0;
|
||||
|
||||
nfc_list_devices (connstrings, MAX_DEVICE_COUNT, &device_count);
|
||||
size_t device_count = nfc_list_devices (connstrings, MAX_DEVICE_COUNT);
|
||||
if (!device_count)
|
||||
cut_omit ("No NFC device found");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue