mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-10 09:33:48 +00:00
Add new supported device: ASK / LoGO. (Thanks to ASK for sending one sample of this device)
This commit is contained in:
@@ -107,9 +107,14 @@ nfc_connect (nfc_device_desc_t * pndd)
|
||||
// Great we have claimed a device
|
||||
pnd->pdc = &(drivers_callbacks_list[uiDriver]);
|
||||
|
||||
// TODO: Put this pn53x related in driver_init()
|
||||
if (!pn53x_init (pnd))
|
||||
return NULL;
|
||||
|
||||
if (pnd->pdc->init) {
|
||||
pnd->pdc->init (pnd);
|
||||
}
|
||||
|
||||
// Set default configuration options
|
||||
// Make sure we reset the CRC and parity to chip handling.
|
||||
if (!nfc_configure (pnd, NDO_HANDLE_CRC, true))
|
||||
|
||||
Reference in New Issue
Block a user