mavtables  0.2.1
MAVLink router and firewall.
Macros
Macros

Macros

#define PACKED   __attribute__((packed))
 

Detailed Description

Macros used elsewhere.

Macro Definition Documentation

◆ PACKED

#define PACKED   __attribute__((packed))

Enforce a packed structure.

A packed structure will not have any padding regardless of the typical alignment restrictions.

Example:

struct PACKED a_packed_structure
{
uint8_t a;
uint16_t b;
uint32_t c;
}

Definition at line 41 of file macros.hpp.