mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-25 16:45:09 +08:00
fix cbor enum
This commit is contained in:
parent
c719e545dc
commit
7f6c078de2
1 changed files with 12 additions and 2 deletions
|
@ -155,8 +155,18 @@ static CborError dumprecursive(uint8_t cmdCode, bool isResponse, CborValue *it,
|
||||||
got_next = true;
|
got_next = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case CborByteStringType:
|
||||||
default: {
|
case CborTextStringType:
|
||||||
|
case CborTagType:
|
||||||
|
case CborSimpleType:
|
||||||
|
case CborBooleanType:
|
||||||
|
case CborNullType:
|
||||||
|
case CborUndefinedType:
|
||||||
|
case CborHalfFloatType:
|
||||||
|
case CborFloatType:
|
||||||
|
case CborDoubleType:
|
||||||
|
case CborInvalidType:
|
||||||
|
case CborIntegerType: {
|
||||||
err = dumpelm(it, &got_next, (isMapType && (elmCount % 2)) ? 0 : nestingLevel);
|
err = dumpelm(it, &got_next, (isMapType && (elmCount % 2)) ? 0 : nestingLevel);
|
||||||
if (err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
Loading…
Reference in a new issue