Chip type is filled in pn53x_init().

This commit is contained in:
Romuald Conty 2011-04-04 15:21:28 +00:00
parent 601081d50a
commit 11668f1143

View file

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