Commit Graph

10 Commits

Author SHA1 Message Date
Gustavo Jose de Sousa 0900cefba9 AP_PerfMon: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-11 16:38:22 +10:00
Andrew Tridgell 7f408cae02 AP_PerfMon: convert example from .pde to .cpp 2015-06-01 17:07:09 +10:00
Tom Pittenger 2179705791 PerfMon: fix compile warnings re float constants 2015-04-24 14:04:06 +09:00
Randy Mackay 6e482d5c56 PerfMon: fix example sketch 2015-01-28 17:15:49 +09:00
Andrew Tridgell 778b5e8a16 AP_PerfMon: removed unusued commented code 2014-08-11 09:39:02 +10:00
Daniel Frenzel df075b8f63 AP_PerfMon: removed unused blocking_writes
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
2014-08-11 09:24:11 +10:00
Randy Mackay 499bc52c5b Perfmon: fixes to work with HAL 2013-10-13 11:02:49 +09:00
Randy Mackay 542e2e1358 AP_PerfMon: fixes to make it work under AP_HAL (almost) 2013-01-23 21:22:17 +09:00
James Bielman 4fa7bb1486 Add AVR compatibility header for missing math.h definitions.
- Define float versions of math functions to the double versions
  on AVR (eg. #define sinf sin).
- These macros appear to be missing in older versions of avr-libs.
- Include AP_Math.h rather than math.h to get these definitions.
2013-01-16 13:52:17 +11:00
rmackay9 b8b17a4a70 ArduCopter: added AP_PerfMon library 2013-01-02 09:20:08 +11:00