init header as 0xFF

This commit is contained in:
iceman1001 2021-05-10 13:59:29 +02:00
commit 078ed4dbd4

View file

@ -1698,6 +1698,8 @@ void iClass_Dump(uint8_t *msg) {
// select tag.
uint32_t eof_time = 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);
if (res == false) {
if (req->send_reply) {