AP_Common: added OPTIMIZE() macro
this can be used to change the compiler optimization level of individual functions Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
This commit is contained in:
parent
fb19dbb404
commit
f1e120113c
@ -38,6 +38,9 @@
|
||||
#define PACKED __attribute__((__packed__))
|
||||
#endif
|
||||
|
||||
// this can be used to optimize individual functions
|
||||
#define OPTIMIZE(level) __attribute__((optimize(level)))
|
||||
|
||||
// Make some dire warnings into errors
|
||||
//
|
||||
// Some warnings indicate questionable code; rather than let
|
||||
|
Loading…
Reference in New Issue
Block a user