Fixed issue #139: serial autoprobe now skips invalid devices but checks all ports in the list.
This commit is contained in:
parent
55be1debaf
commit
b58816df05
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user