mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
fix tlvdb_get_uint8
This commit is contained in:
parent
25d6a1274f
commit
e793fa8d73
1 changed files with 1 additions and 2 deletions
|
@ -551,8 +551,7 @@ struct tlvdb *tlvdb_elm_get_parent(struct tlvdb *tlvdb)
|
|||
|
||||
bool tlvdb_get_uint8(struct tlvdb *tlvRoot, tlv_tag_t tag, uint8_t *value)
|
||||
{
|
||||
const struct tlvdb *tlvdb = tlvdb_get(tlvRoot, tag, NULL);
|
||||
const struct tlv *tlvelm = tlvdb_get_tlv(tlvdb);
|
||||
const struct tlv *tlvelm = tlvdb_get(tlvRoot, tag, NULL);
|
||||
return tlv_get_uint8(tlvelm, value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue