bugfix repalce the same tag
This commit is contained in:
parent
0812b89909
commit
1ec48fcf37
|
@ -36,6 +36,8 @@
|
||||||
//#define PLATFORM_HAS_BUTTON 1
|
//#define PLATFORM_HAS_BUTTON 1
|
||||||
#define PLATFORM_HAS_BATTERY 1
|
#define PLATFORM_HAS_BATTERY 1
|
||||||
|
|
||||||
|
#define LOOP_INTERVAL (1 * CLOCK_SECOND)
|
||||||
|
|
||||||
/* For Debug: Dont allow MCU sleeping between channel checks */
|
/* For Debug: Dont allow MCU sleeping between channel checks */
|
||||||
//#undef RDC_CONF_MCU_SLEEP
|
//#undef RDC_CONF_MCU_SLEEP
|
||||||
//#define RDC_CONF_MCU_SLEEP 0
|
//#define RDC_CONF_MCU_SLEEP 0
|
||||||
|
|
|
@ -159,8 +159,10 @@ void loop (void)
|
||||||
Serial1.print(F("In dec: "));
|
Serial1.print(F("In dec: "));
|
||||||
printDec(rfid.uid.uidByte, rfid.uid.size);
|
printDec(rfid.uid.uidByte, rfid.uid.size);
|
||||||
Serial1.println();
|
Serial1.println();
|
||||||
|
}else{
|
||||||
|
Serial1.println(F("Card read previously."));
|
||||||
|
coap_rfid();
|
||||||
}
|
}
|
||||||
else Serial1.println(F("Card read previously."));
|
|
||||||
|
|
||||||
// Halt PICC
|
// Halt PICC
|
||||||
rfid.PICC_HaltA();
|
rfid.PICC_HaltA();
|
||||||
|
|
Loading…
Reference in a new issue