mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
init header as 0xFF
This commit is contained in:
parent
9498a07262
commit
078ed4dbd4
1 changed files with 2 additions and 0 deletions
|
@ -1698,6 +1698,8 @@ void iClass_Dump(uint8_t *msg) {
|
||||||
// select tag.
|
// select tag.
|
||||||
uint32_t eof_time = 0;
|
uint32_t eof_time = 0;
|
||||||
picopass_hdr_t hdr = {0};
|
picopass_hdr_t hdr = {0};
|
||||||
|
memset(&hdr, 0xff, sizeof(picopass_hdr_t));
|
||||||
|
|
||||||
bool res = select_iclass_tag(&hdr, req->use_credit_key, &eof_time);
|
bool res = select_iclass_tag(&hdr, req->use_credit_key, &eof_time);
|
||||||
if (res == false) {
|
if (res == false) {
|
||||||
if (req->send_reply) {
|
if (req->send_reply) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue