mirror of https://github.com/ArduPilot/ardupilot
AP_Common: define WEAK attribute
This commit is contained in:
parent
723ad34dfb
commit
09bdb6315b
|
@ -27,6 +27,9 @@
|
|||
// used to pack structures
|
||||
#define PACKED __attribute__((__packed__))
|
||||
|
||||
// used to weaken symbols
|
||||
#define WEAK __attribute__((__weak__))
|
||||
|
||||
// used to mark a function that may be unused in some builds
|
||||
#define UNUSED_FUNCTION __attribute__((unused))
|
||||
|
||||
|
|
Loading…
Reference in New Issue