Replace nfc_target_info_t with nfc_target_t in API function, we now have a coherent struct to handle nfc_target_t, use it!
This commit is contained in:
parent
6f3fbcb6bf
commit
af88da1a9c
10 changed files with 76 additions and 85 deletions
|
|
@ -30,7 +30,7 @@ test_access_storm (void)
|
|||
|
||||
for (i = 0; i < device_count; i++) {
|
||||
nfc_device_t *device;
|
||||
nfc_target_info_t anti[MAX_TARGET_COUNT];
|
||||
nfc_target_t ant[MAX_TARGET_COUNT];
|
||||
|
||||
device = nfc_connect (&(devices[i]));
|
||||
cut_assert_not_null (device, cut_message ("nfc_connect"));
|
||||
|
|
@ -60,7 +60,7 @@ test_access_storm (void)
|
|||
.nmt = NMT_ISO14443A,
|
||||
.nbr = NBR_106,
|
||||
};
|
||||
res = nfc_initiator_list_passive_targets(device, nm, anti, MAX_TARGET_COUNT, &target_count);
|
||||
res = nfc_initiator_list_passive_targets(device, nm, ant, MAX_TARGET_COUNT, &target_count);
|
||||
cut_assert_true (res, cut_message ("nfc_initiator_list_passive_targets"));
|
||||
|
||||
nfc_disconnect (device);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue