mirror of https://github.com/ArduPilot/ardupilot
AP_Common: added a define for PACKED
neater than a pragma
This commit is contained in:
parent
8d727614b4
commit
4fe5ce8a09
|
@ -24,6 +24,9 @@
|
|||
#pragma GCC diagnostic warning "-Wlogical-op"
|
||||
#pragma GCC diagnostic ignored "-Wredundant-decls"
|
||||
|
||||
// used to pack structures
|
||||
#define PACKED __attribute__((__packed__))
|
||||
|
||||
// Make some dire warnings into errors
|
||||
//
|
||||
// Some warnings indicate questionable code; rather than let
|
||||
|
|
Loading…
Reference in New Issue