Initialise pn53x chip in acr122_connect().
This commit is contained in:
parent
88bff13b85
commit
7ca0aa07c5
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue