fix cbor enum

This commit is contained in:
Philippe Teuwen 2020-05-12 00:44:22 +02:00
parent c719e545dc
commit 7f6c078de2

View file

@ -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;