mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-26 19:56:39 +00:00
Fixed issue #139: serial autoprobe now skips invalid devices but checks all ports in the list.
This commit is contained in:
@@ -104,7 +104,7 @@ pn532_uart_list_devices (nfc_device_desc_t pnddDevices[], size_t szDevices, size
|
||||
pn532_uart_wakeup ((nfc_device_spec_t) sp);
|
||||
// Check communication using "Diagnose" command, with "Communication test" (0x00)
|
||||
if (!pn532_uart_check_communication ((nfc_device_spec_t) sp, &bComOk))
|
||||
return false;
|
||||
continue;
|
||||
if (!bComOk)
|
||||
continue;
|
||||
uart_close (sp);
|
||||
|
||||
Reference in New Issue
Block a user