bugfix repalce the same tag

master-01022017
Harald Pichler 2016-12-16 13:03:44 +01:00
parent 0812b89909
commit 1ec48fcf37
2 changed files with 6 additions and 2 deletions

View File

@ -36,6 +36,8 @@
//#define PLATFORM_HAS_BUTTON 1
#define PLATFORM_HAS_BATTERY 1
#define LOOP_INTERVAL (1 * CLOCK_SECOND)
/* For Debug: Dont allow MCU sleeping between channel checks */
//#undef RDC_CONF_MCU_SLEEP
//#define RDC_CONF_MCU_SLEEP 0

View File

@ -159,9 +159,11 @@ void loop (void)
Serial1.print(F("In dec: "));
printDec(rfid.uid.uidByte, rfid.uid.size);
Serial1.println();
}else{
Serial1.println(F("Card read previously."));
coap_rfid();
}
else Serial1.println(F("Card read previously."));
// Halt PICC
rfid.PICC_HaltA();