commented nfcip lines

This commit is contained in:
Roel Verdult 2010-09-28 16:18:05 +00:00
parent 6dfe88113e
commit e0c01fca01

View file

@ -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]));
} }