I apologize for the terrible report, but RESERVED_MAX_BREAKS when in place, returns the error:
File "/workspaces/xxx/lib/zcbor/zcbor/zcbor.py", line 1218, in all_children_int_disambiguated
and max(values) <= INT32_MAX and min(values) >= INT32_MIN
TypeError: '>' not supported between instances of 'str' and 'int'
When I remove 255 or change it to 254, works fine. Looks like maybe an off-by-one error on range checking for a uint8_t?
I'm about to get on a plane, so I don't have a ton of time to check this, but I'm doing something roughly like:
I apologize for the terrible report, but
RESERVED_MAX_BREAKS
when in place, returns the error:When I remove 255 or change it to 254, works fine. Looks like maybe an off-by-one error on range checking for a uint8_t?