Add new supported device: ASK / LoGO. (Thanks to ASK for sending one sample of this device)

This commit is contained in:
Romuald Conty
2011-02-01 21:20:48 +00:00
parent 659d7a9de1
commit 58ad2a5760
8 changed files with 49 additions and 18 deletions

View File

@@ -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))