mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-21 23:50:36 +08:00
libuavcan DSDLC template: suffix ULL instead of UL for 64-bit unsigned integers
This commit is contained in:
@@ -232,7 +232,7 @@ template <int _tmpl>
|
||||
::uavcan::DataTypeSignature ${t.cpp_type_name}<_tmpl>::getDataTypeSignature()
|
||||
% endif
|
||||
{
|
||||
::uavcan::DataTypeSignature signature(${'0x%08X' % t.get_dsdl_signature()}UL);
|
||||
::uavcan::DataTypeSignature signature(${'0x%08X' % t.get_dsdl_signature()}ULL);
|
||||
<!--(macro extend_signature_per_field)--> #! scope_prefix, fields
|
||||
% for a in fields:
|
||||
${scope_prefix}FieldTypes::${a.name}::extendDataTypeSignature(signature);
|
||||
|
||||
Reference in New Issue
Block a user