Commit Graph

6 Commits

Author SHA1 Message Date
Gustavo Jose de Sousa 023f56aa70 AP_Limits: 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:18 +10:00
Andrew Tridgell c28ef033a2 AP_Limits: fixed indent-tabs-mode 2013-05-30 09:52:00 +10:00
tobias 217b8d7a59 cleanup: use const for struct Location pointers and references
this allows the compiler to generate more efficient code
2013-04-09 12:10:32 +10:00
Pat Hickey 9f9dfc7c63 AP_Limits: fix spacing to 80 columns, use standard cpp header guard conventions
* No idea what was going on there. Confusing.
2012-12-20 14:51:26 +11:00
uncrustify f5ae336073 uncrustify libraries/AP_Limits/AP_Limit_Altitude.h 2012-08-21 19:03:32 -07:00
Andreas M. Antonopoulos c73f7ef3ab AP_Limits library, provides modular "limits" such as altitude and geo-fencing. 2012-07-14 19:26:17 -07:00