mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-11 18:13:46 +00:00
add pn531/pn533 _list_devices and _pick routines (plus minor fixes for acr122 and pn532_uart)
This commit is contained in:
@@ -137,6 +137,7 @@ nfc_device_t* pn532_uart_connect(const nfc_device_desc_t* pndd)
|
||||
|
||||
if( pndd == NULL ) {
|
||||
DBG("%s", "pn532_uart_connect() need an nfc_device_desc_t struct.");
|
||||
return NULL;
|
||||
} else {
|
||||
DBG("Connecting to: %s at %d bauds.",pndd->pcPort, pndd->uiSpeed);
|
||||
sp = uart_open(pndd->pcPort);
|
||||
|
||||
Reference in New Issue
Block a user