Skip to content

Commit

Permalink
Fix no master card defined
Browse files Browse the repository at this point in the history
  • Loading branch information
omersiar committed Aug 18, 2014
1 parent cd6d40c commit a71a071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RFIDDoorUnlock201.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a71a071

Please sign in to comment.