Avoid BUFSIZ usage since it will be a HUGE buffer under linux (8192 bytes).
This commit is contained in:
parent
f0acc73541
commit
0b720d30cd
3 changed files with 5 additions and 5 deletions
|
|
@ -80,7 +80,7 @@ typedef struct {
|
|||
*/
|
||||
typedef struct {
|
||||
/** Device name (e.g. "ACS ACR 38U-CCID 00 00") */
|
||||
char acDevice[BUFSIZ];
|
||||
char acDevice[DEVICE_NAME_LENGTH];
|
||||
/** Driver name (e.g. "PN532_UART")*/
|
||||
char* pcDriver;
|
||||
/** Port (e.g. "/dev/ttyUSB0") */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue