Removes --enable-serial-autoprobe option at compile and replace this feature by LIBNFC_INTRUSIVE_SCAN environment variable at run time.

This commit is contained in:
Romuald Conty 2012-10-21 14:11:38 +00:00
parent b5aa91fd62
commit 397222c33f
9 changed files with 84 additions and 59 deletions

View file

@ -3,7 +3,7 @@
*
* Copyright (C) 2009 Roel Verdult
* Copyright (C) 2010, 2011 Romain Tartière
* Copyright (C) 2010, 2011 Romuald Conty
* Copyright (C) 2010, 2011, 2012 Romuald Conty
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
@ -32,7 +32,10 @@
# include <stdbool.h>
# include <stdio.h>
typedef void *nfc_context;
/**
* NFC context
*/
typedef struct nfc_context nfc_context;
/**
* NFC device