mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-19 19:38:52 +08:00
FIX: leftover residue from sending different packages OLD/MIX/NG, is now cleaned before.
This commit is contained in:
parent
4929b16bf9
commit
afabd59995
1 changed files with 2 additions and 0 deletions
|
@ -1633,6 +1633,8 @@ void __attribute__((noreturn)) AppMain(void) {
|
|||
|
||||
// Check if there is a packet available
|
||||
PacketCommandNG rx;
|
||||
memset(&rx.data, 0, sizeof(rx.data));
|
||||
|
||||
int ret = receive_ng(&rx);
|
||||
if (ret == PM3_SUCCESS) {
|
||||
PacketReceived(&rx);
|
||||
|
|
Loading…
Add table
Reference in a new issue