mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Merge pull request #4872 from andrethomas/patch-1
PN532: Queue events through backlog
This commit is contained in:
commit
ddb5ecf67d
@ -441,10 +441,8 @@ void PN532_ScanForTag(void)
|
|||||||
|
|
||||||
#ifdef USE_PN532_CAUSE_EVENTS
|
#ifdef USE_PN532_CAUSE_EVENTS
|
||||||
|
|
||||||
char command[64];
|
char command[71];
|
||||||
sprintf(command,"event PN532_UID=%s",uids);
|
sprintf(command,"backlog event PN532_UID=%s;event PN532_DATA=%s",uids,card_datas);
|
||||||
ExecuteCommand(command, SRC_RULE);
|
|
||||||
sprintf(command,"event PN532_DATA=%s",card_datas);
|
|
||||||
ExecuteCommand(command, SRC_RULE);
|
ExecuteCommand(command, SRC_RULE);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user