Skip to content

Commit

Permalink
Fixed typo in ESP32 check
Browse files Browse the repository at this point in the history
  • Loading branch information
solhuebner authored Jan 16, 2021
1 parent 0b8458f commit 1d285ce
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions Adafruit_PN532.cpp
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)
*/
/**************************************************************************/

Expand Down Expand Up @@ -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];
Expand Down

0 comments on commit 1d285ce

Please sign in to comment.