mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-02 13:51:45 +00:00
WARNING: API changed: nfc_connect() now take one argument. Have a look at nfc-list example (list.c) or at directly at function Doxygen comment (libnfc.h).
Add configure option: --disable-serial-autoprobe to fix Issue 2 (Autotools and CMake). Fix Issue 11: it is now possible to specify a wanted device using new struct "nfc_device_desc_t". Code cleanup.
This commit is contained in:
@@ -290,7 +290,7 @@ int main(int argc, const char* argv[])
|
||||
printf("Succesful opened MIFARE the required files\n");
|
||||
|
||||
// Try to open the NFC reader
|
||||
pdi = nfc_connect();
|
||||
pdi = nfc_connect(NULL);
|
||||
if (pdi == INVALID_DEVICE_INFO)
|
||||
{
|
||||
printf("Error connecting NFC reader\n");
|
||||
|
||||
Reference in New Issue
Block a user