mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Common: NOINLINE is now defined in ChibiOS
This commit is contained in:
parent
51f856e5c6
commit
07532eaf2f
@ -44,7 +44,9 @@
|
||||
#define OPTIMIZE(level) __attribute__((optimize(level)))
|
||||
|
||||
// sometimes we need to prevent inlining to prevent large stack usage
|
||||
#ifndef NOINLINE
|
||||
#define NOINLINE __attribute__((noinline))
|
||||
#endif
|
||||
|
||||
// used to ignore results for functions marked as warn unused
|
||||
#define IGNORE_RETURN(x) do {if (x) {}} while(0)
|
||||
|
Loading…
Reference in New Issue
Block a user