Open clippinglee opened 3 months ago
I would prefer to have some kind of check in ucdr_serialize_bool
that serializes an 0x01
when arg != 0, is that possible to modify this PR to that approach?
yes , but i would prefer to change ucdr_serialize_bool when this function defined,look:https://github.com/eProsima/Micro-CDR/pull/75 Whether or not the caller makes an arg!=0 judgment, we can avoid this problem
fix issue https://github.com/eProsima/Micro-XRCE-DDS/issues/173 SOC need real bool type,But MCU does not have real bool type. in MCU,bool = uint8