From d822320718076ab35ef3874b03444d024f75a183 Mon Sep 17 00:00:00 2001 From: Jacob Wood Date: Tue, 21 Jan 2020 16:11:34 +0800 Subject: [PATCH] Removed deprecated warnings as project is no longer maintained --- src/MFRC522.cpp | 4 ---- src/MFRC522.h | 6 ------ 2 files changed, 10 deletions(-) diff --git a/src/MFRC522.cpp b/src/MFRC522.cpp index cb1c5fe..4307dd8 100644 --- a/src/MFRC522.cpp +++ b/src/MFRC522.cpp @@ -1369,8 +1369,6 @@ void MFRC522::PCD_DumpVersionToSerial() { * Dumps debug info about the selected PICC to Serial. * On success the PICC is halted after dumping the data. * For MIFARE Classic the factory default key of 0xFFFFFFFFFFFF is tried. - * - * @DEPRECATED Kept for bakward compatibility */ void MFRC522::PICC_DumpToSerial(Uid *uid ///< Pointer to Uid struct returned from a successful PICC_Select(). ) { @@ -1416,8 +1414,6 @@ void MFRC522::PICC_DumpToSerial(Uid *uid ///< Pointer to Uid struct returned fro /** * Dumps card info (UID,SAK,Type) about the selected PICC to Serial. - * - * @DEPRECATED kept for backward compatibility */ void MFRC522::PICC_DumpDetailsToSerial(Uid *uid ///< Pointer to Uid struct returned from a successful PICC_Select(). ) { diff --git a/src/MFRC522.h b/src/MFRC522.h index ed74900..d7ca1c6 100644 --- a/src/MFRC522.h +++ b/src/MFRC522.h @@ -335,7 +335,6 @@ public: // Functions for setting up the Arduino ///////////////////////////////////////////////////////////////////////////////////// MFRC522(); - DEPRECATED_MSG("use MFRC522(byte chipSelectPin, byte resetPowerDownPin)") MFRC522(byte resetPowerDownPin); MFRC522(byte chipSelectPin, byte resetPowerDownPin); @@ -354,7 +353,6 @@ public: // Functions for manipulating the MFRC522 ///////////////////////////////////////////////////////////////////////////////////// void PCD_Init(); - DEPRECATED_MSG("use PCD_Init(byte chipSelectPin, byte resetPowerDownPin)") void PCD_Init(byte resetPowerDownPin); void PCD_Init(byte chipSelectPin, byte resetPowerDownPin); void PCD_Reset(); @@ -418,13 +416,9 @@ public: void PICC_DumpMifareUltralightToSerial(); // Advanced functions for MIFARE - DEPRECATED_MSG("name will change in next version") void MIFARE_SetAccessBits(byte *accessBitBuffer, byte g0, byte g1, byte g2, byte g3); - DEPRECATED_MSG("will move to extra class in next version") bool MIFARE_OpenUidBackdoor(bool logErrors); - DEPRECATED_MSG("will move to extra class in next version") bool MIFARE_SetUid(byte *newUid, byte uidSize, bool logErrors); - DEPRECATED_MSG("will move to extra class in next version") bool MIFARE_UnbrickUidSector(bool logErrors); /////////////////////////////////////////////////////////////////////////////////////