Chip type is filled in pn53x_init().
This commit is contained in:
parent
601081d50a
commit
11668f1143
1 changed files with 0 additions and 1 deletions
|
@ -112,7 +112,6 @@ arygon_probe (nfc_device_desc_t pnddDevices[], size_t szDevices, size_t * pszDev
|
||||||
pnd->driver_data = malloc(sizeof(struct arygon_data));
|
pnd->driver_data = malloc(sizeof(struct arygon_data));
|
||||||
DRIVER_DATA (pnd)->port = sp;
|
DRIVER_DATA (pnd)->port = sp;
|
||||||
pnd->chip_data = malloc(sizeof(struct pn53x_data));
|
pnd->chip_data = malloc(sizeof(struct pn53x_data));
|
||||||
CHIP_DATA (pnd)->type = PN532;
|
|
||||||
CHIP_DATA (pnd)->state = NORMAL;
|
CHIP_DATA (pnd)->state = NORMAL;
|
||||||
CHIP_DATA (pnd)->io = &arygon_tama_io;
|
CHIP_DATA (pnd)->io = &arygon_tama_io;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue