From a71a071501a33dd627428866ab946abad771f7ef Mon Sep 17 00:00:00 2001 From: omersiar Date: Mon, 18 Aug 2014 18:31:29 +0300 Subject: [PATCH] Fix no master card defined --- RFIDDoorUnlock201.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RFIDDoorUnlock201.ino b/RFIDDoorUnlock201.ino index 64f5b04..1db0d53 100644 --- a/RFIDDoorUnlock201.ino +++ b/RFIDDoorUnlock201.ino @@ -163,7 +163,7 @@ void setup() { } } //Check if master card defined, if not let user choose a master card - if (EEPROM.read(1) == 0) { // Look EEPROM if Master Card defined, EEPROM address 1 holds if defined + if (EEPROM.read(1) != 1) { // Look EEPROM if Master Card defined, EEPROM address 1 holds if defined Serial.println("No Master Card Defined"); Serial.println("Scan A PICC to Define as Master Card"); do {