commented nfcip lines
This commit is contained in:
parent
6dfe88113e
commit
e0c01fca01
1 changed files with 4 additions and 4 deletions
|
@ -44,10 +44,10 @@ main (int argc, const char *argv[])
|
||||||
#define MAX_DEVICE_COUNT 2
|
#define MAX_DEVICE_COUNT 2
|
||||||
nfc_device_desc_t pnddDevices[MAX_DEVICE_COUNT];
|
nfc_device_desc_t pnddDevices[MAX_DEVICE_COUNT];
|
||||||
nfc_list_devices (pnddDevices, MAX_DEVICE_COUNT, &szDeviceFound);
|
nfc_list_devices (pnddDevices, MAX_DEVICE_COUNT, &szDeviceFound);
|
||||||
# Little hack to allow using nfcip-initiator & nfcip-target from
|
//# Little hack to allow using nfcip-initiator & nfcip-target from
|
||||||
# the same machine: if there is more than one readers connected
|
//# the same machine: if there is more than one readers connected
|
||||||
# nfcip-target will connect to the second reader
|
//# nfcip-target will connect to the second reader
|
||||||
# (we hope they're always detected in the same order)
|
//# (we hope they're always detected in the same order)
|
||||||
if (szDeviceFound == 1) {
|
if (szDeviceFound == 1) {
|
||||||
pnd = nfc_connect (&(pnddDevices[0]));
|
pnd = nfc_connect (&(pnddDevices[0]));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue