UAVCAN_PACKED_* removed completely, as with the latest optimizations it is not needed anymore

This commit is contained in:
Pavel Kirienko 2015-06-20 22:42:54 +03:00
parent 815337ab1f
commit 5cfbb193e6
3 changed files with 0 additions and 15 deletions

View File

@ -82,17 +82,6 @@
# endif
#endif
/**
* Struct layout control.
* THIS MAY BREAK THE CODE.
*/
#ifndef UAVCAN_PACKED_BEGIN
# define UAVCAN_PACKED_BEGIN
#endif
#ifndef UAVCAN_PACKED_END
# define UAVCAN_PACKED_END
#endif
/**
* Declaration visibility
* http://gcc.gnu.org/wiki/Visibility

View File

@ -16,7 +16,6 @@
namespace uavcan
{
UAVCAN_PACKED_BEGIN
class UAVCAN_EXPORT OutgoingTransferRegistryKey
{
DataTypeID data_type_id_;
@ -56,7 +55,6 @@ public:
std::string toString() const;
#endif
};
UAVCAN_PACKED_END
/**
* Outgoing transfer registry keeps track of Transfer ID values for all currently existing local transfer senders.

View File

@ -13,7 +13,6 @@
namespace uavcan
{
UAVCAN_PACKED_BEGIN
class UAVCAN_EXPORT TransferReceiver
{
public:
@ -95,7 +94,6 @@ public:
MonotonicDuration getInterval() const { return MonotonicDuration::fromMSec(transfer_interval_msec_); }
};
UAVCAN_PACKED_END
}