CHG: wrong define

This commit is contained in:
iceman1001 2019-01-11 12:56:59 +01:00
parent bd0e33fb58
commit 43d57855a0

View file

@ -715,7 +715,7 @@ void ProcessACResponseFormat1(struct tlvdb *tlvRoot, uint8_t *buf, size_t len, b
TLVPrintFromTLV(tlvElm); TLVPrintFromTLV(tlvElm);
// AC (Application Cryptogram) // AC (Application Cryptogram)
tlvdb_change_or_add_node_ex(tlvRoot, 0x9f26, min(8, elmlen - 3), &buf[5], &tlvElm); tlvdb_change_or_add_node_ex(tlvRoot, 0x9f26, MIN(8, elmlen - 3), &buf[5], &tlvElm);
if (decodeTLV) if (decodeTLV)
TLVPrintFromTLV(tlvElm); TLVPrintFromTLV(tlvElm);