Revert "replace #define by constexpr"

This reverts commit a1d0a1313d.
This commit is contained in:
Rotzbua
2018-10-04 12:54:33 +02:00
parent e1b5c1dafa
commit 4623434bea
15 changed files with 42 additions and 42 deletions

View File

@@ -31,8 +31,8 @@
#include <SPI.h>
#include <MFRC522.h>
constexpr uint8_t RST_PIN = 9; // Configurable, see typical pin layout above
constexpr uint8_t SS_PIN = 10; // Configurable, see typical pin layout above
#define SS_PIN 10
#define RST_PIN 9
MFRC522 rfid(SS_PIN, RST_PIN); // Instance of the class