mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 22:33:33 +08:00
UAVCAN_PACK_STRUCTS removed, was useless
This commit is contained in:
@@ -33,19 +33,11 @@ ${line}
|
||||
#undef ${a.name}
|
||||
% endfor
|
||||
|
||||
#ifndef UAVCAN_PACK_STRUCTS
|
||||
# error UAVCAN_PACK_STRUCTS
|
||||
#endif
|
||||
|
||||
% for nsc in t.cpp_namespace_components:
|
||||
namespace ${nsc}
|
||||
{
|
||||
% endfor
|
||||
|
||||
#if UAVCAN_PACK_STRUCTS
|
||||
UAVCAN_PACKED_BEGIN
|
||||
#endif
|
||||
|
||||
% if t.kind != t.KIND_SERVICE:
|
||||
template <int _tmpl>
|
||||
% endif
|
||||
@@ -178,10 +170,6 @@ private:
|
||||
% endif
|
||||
};
|
||||
|
||||
#if UAVCAN_PACK_STRUCTS
|
||||
UAVCAN_PACKED_END
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Out of line struct method definitions
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user