From aca1eb40a81556980aeb6163d315b77a51fc7bc2 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Thu, 22 Jul 2010 16:24:24 +0000 Subject: [PATCH] Comment out extern symbol related to PN53x in nfc.c; The goal is to remove all of them from nfc.c --- libnfc/nfc.c | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/libnfc/nfc.c b/libnfc/nfc.c index a95c539..5ba4950 100644 --- a/libnfc/nfc.c +++ b/libnfc/nfc.c @@ -40,33 +40,34 @@ nfc_device_desc_t * nfc_pick_device (void); -// PN53X configuration +/// @TODO Remove all PN53x related command from this file (should be in pn53x) +// // PN53X configuration extern const byte_t pncmd_get_firmware_version [ 2]; -extern const byte_t pncmd_get_general_status [ 2]; -extern const byte_t pncmd_get_register [ 4]; -extern const byte_t pncmd_set_register [ 5]; -extern const byte_t pncmd_set_parameters [ 3]; +// extern const byte_t pncmd_get_general_status [ 2]; +// extern const byte_t pncmd_get_register [ 4]; +// extern const byte_t pncmd_set_register [ 5]; +// extern const byte_t pncmd_set_parameters [ 3]; extern const byte_t pncmd_rf_configure [ 14]; - -// Reader -extern const byte_t pncmd_initiator_list_passive [264]; +// +// // Reader +// extern const byte_t pncmd_initiator_list_passive [264]; extern const byte_t pncmd_initiator_jump_for_dep [ 68]; -extern const byte_t pncmd_initiator_select [ 3]; +// extern const byte_t pncmd_initiator_select [ 3]; extern const byte_t pncmd_initiator_deselect [ 3]; -extern const byte_t pncmd_initiator_release [ 3]; -extern const byte_t pncmd_initiator_set_baud_rate [ 5]; +// extern const byte_t pncmd_initiator_release [ 3]; +// extern const byte_t pncmd_initiator_set_baud_rate [ 5]; extern const byte_t pncmd_initiator_exchange_data [265]; extern const byte_t pncmd_initiator_exchange_raw_data [266]; -extern const byte_t pncmd_initiator_auto_poll [ 5]; - -// Target +// extern const byte_t pncmd_initiator_auto_poll [ 5]; +// +// // Target extern const byte_t pncmd_target_get_data [ 2]; extern const byte_t pncmd_target_set_data [264]; extern const byte_t pncmd_target_init [ 39]; -extern const byte_t pncmd_target_virtual_card [ 4]; +// extern const byte_t pncmd_target_virtual_card [ 4]; extern const byte_t pncmd_target_receive [ 2]; extern const byte_t pncmd_target_send [264]; -extern const byte_t pncmd_target_get_status [ 2]; +// extern const byte_t pncmd_target_get_status [ 2]; /** * @brief Probe for the first discoverable supported devices (ie. only available for some drivers)