Initialise pn53x chip in acr122_connect().

This commit is contained in:
Romain Tartiere 2011-03-08 15:09:23 +00:00
parent 88bff13b85
commit 7ca0aa07c5

View file

@ -42,7 +42,6 @@
# define ACR122_DRIVER_NAME "ACR122"
// XXX: Some review from users cross-compiling is welcome!
#if defined (_WIN32)
# define IOCTL_CCID_ESCAPE_SCARD_CTL_CODE SCARD_CTL_CODE(3500)
#elif defined(__APPLE__)
@ -228,6 +227,8 @@ acr122_connect (const nfc_device_desc_t * pndd)
CHIP_DATA (pnd)->io = &acr122_io;
pnd->driver = &acr122_driver;
pn53x_init (pnd);
return pnd;
}