mirror of https://github.com/arendst/Tasmota.git
PN532: Queue events through backlog
This commit is contained in:
parent
95bd91b6db
commit
b7f361ebbf
|
@ -441,10 +441,8 @@ void PN532_ScanForTag(void)
|
|||
|
||||
#ifdef USE_PN532_CAUSE_EVENTS
|
||||
|
||||
char command[64];
|
||||
sprintf(command,"event PN532_UID=%s",uids);
|
||||
ExecuteCommand(command, SRC_RULE);
|
||||
sprintf(command,"event PN532_DATA=%s",card_datas);
|
||||
char command[71];
|
||||
sprintf(command,"backlog event PN532_UID=%s;event PN532_DATA=%s",uids,card_datas);
|
||||
ExecuteCommand(command, SRC_RULE);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue