From 1d285ce211df15db9350cb9f4309c5e48686702f Mon Sep 17 00:00:00 2001 From: Sol Huebner Date: Sat, 16 Jan 2021 18:43:06 -0500 Subject: [PATCH] Fixed typo in ESP32 check --- Adafruit_PN532.cpp | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/Adafruit_PN532.cpp b/Adafruit_PN532.cpp index 25976cb..dc20d44 100644 --- a/Adafruit_PN532.cpp +++ b/Adafruit_PN532.cpp @@ -1,7 +1,7 @@ /**************************************************************************/ /*! @file Adafruit_PN532.cpp - @author Adafruit Industries + @author Adafruit Industries / modified by Sol Huebner @license BSD (see license.txt) Driver for NXP's PN532 NFC/13.56MHz RFID Transceiver @@ -16,32 +16,6 @@ Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! - - @section HISTORY - - v2.1 - Added NTAG2xx helper functions - - v2.0 - Refactored to add I2C support from Adafruit_NFCShield_I2C library. - - v1.4 - Added setPassiveActivationRetries() - - v1.2 - Added writeGPIO() - - Added readGPIO() - - v1.1 - Changed readPassiveTargetID() to handle multiple UID sizes - - Added the following helper functions for text display - static void PrintHex(const byte * data, const uint32_t numBytes) - static void PrintHexChar(const byte * pbtData, const uint32_t - numBytes) - - Added the following Mifare Classic functions: - bool mifareclassic_IsFirstBlock (uint32_t uiBlock) - bool mifareclassic_IsTrailerBlock (uint32_t uiBlock) - uint8_t mifareclassic_AuthenticateBlock (uint8_t * uid, uint8_t - uidLen, uint32_t blockNumber, uint8_t keyNumber, uint8_t * keyData) uint8_t - mifareclassic_ReadDataBlock (uint8_t blockNumber, uint8_t * data) uint8_t - mifareclassic_WriteDataBlock (uint8_t blockNumber, uint8_t * data) - - Added the following Mifare Ultalight functions: - uint8_t mifareultralight_ReadPage (uint8_t page, uint8_t * buffer) */ /**************************************************************************/ @@ -75,7 +49,7 @@ byte pn532response_firmwarevers[] = {0x00, 0x00, 0xFF, 0x06, 0xFA, 0xD5}; #define SPI_FREQUENCY 100000 #else #define SPI_FREQUENCY 1000000 -#end +#endif #define PN532_PACKBUFFSIZ 255 byte pn532_packetbuffer[PN532_PACKBUFFSIZ];