Commit Graph

10 Commits

Author SHA1 Message Date
Caio Marcelo de Oliveira Filho 26c06ae3a9 AP_PerfMon: use millis/micros/panic functions 2015-11-20 12:33:33 +09:00
Lucas De Marchi 20c6ffc5e3 Replace use of UARTDriver::printf_P() with UARTDriver::printf()
This also starts to show warnings on places that were already using
wrong printf format strings.
2015-10-30 14:35:25 +09:00
Lucas De Marchi 2c38e31c93 Remove use of PSTR
The PSTR is already define as a NOP for all supported platforms. It's
only needed for AVR so here we remove all the uses throughout the
codebase.

This was automated with a simple python script so it also converts
places which spans to multiple lines, removing the matching parentheses.

AVR-specific places were not changed.
2015-10-30 14:35:04 +09:00
Tom Pittenger 2179705791 PerfMon: fix compile warnings re float constants 2015-04-24 14:04:06 +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