fix cbor enum
This commit is contained in:
@@ -155,8 +155,18 @@ static CborError dumprecursive(uint8_t cmdCode, bool isResponse, CborValue *it,
|
||||
got_next = true;
|
||||
break;
|
||||
}
|
||||
|
||||
default: {
|
||||
case CborByteStringType:
|
||||
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);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
Reference in New Issue
Block a user