update COPYING to latest version (Uwe Hermann)
[librfid] / src / rfid_reader_openpcd.c
index 49d915f..8adf1ee 100644 (file)
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-//#define DEBUG
-
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
 #include <errno.h>
 
-
 #include <librfid/rfid.h>
 #include <librfid/rfid_reader.h>
 #include <librfid/rfid_asic.h>
@@ -53,7 +50,6 @@ static char rcv_buf[RECVBUF_LEN];
 static struct openpcd_hdr *snd_hdr;
 static struct openpcd_hdr *rcv_hdr;
 
-
 #ifndef LIBRFID_FIRMWARE
 
 #ifdef  __MINGW32__
@@ -532,10 +528,12 @@ const struct rfid_reader rfid_reader_openpcd = {
        .open = &openpcd_open,
        .close = &openpcd_close,
        
+#ifndef LIBRFID_FIRMWARE
         .get_api_version = &openpcd_get_api_version,
        .get_environment = &openpcd_get_environment,
        .set_environment = &openpcd_set_environment,
         .reset = &openpcd_reset,
+#endif
                                        
        .transceive = &openpcd_transceive,
        .l2_supported = (1 << RFID_LAYER2_ISO14443A) |