From 296772ea5ffe94aa899bf0554179e0b6ededb09a Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Fri, 13 Apr 2018 13:11:21 +0200 Subject: [PATCH] replace UINT8_MAX by UNUSED_PIN --- src/MFRC522.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MFRC522.h b/src/MFRC522.h index 7fa6288..0aa9de8 100644 --- a/src/MFRC522.h +++ b/src/MFRC522.h @@ -142,6 +142,8 @@ class MFRC522 { public: // Size of the MFRC522 FIFO static const byte FIFO_SIZE = 64; // The FIFO is 64 bytes. + // Default value for unused pin + static constexpr uint8_t UNUSED_PIN = UINT8_MAX; // MFRC522 registers. Described in chapter 9 of the datasheet. // When using SPI all addresses are shifted one bit left in the "SPI address byte" (section 8.1.2.3)