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
Pat Hickey b0b3fa33b4 AP_Limits: fix for AP_Param var_info registration in AP_Limit_Module
* AP_Limit_Module class does not have its own var_info table.
2012-12-20 14:52:28 +11:00
Andrew Tridgell 9b3ed0b683 AP_Limits: updates for new AP_Param API 2012-12-20 14:51:39 +11: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 065cdfe7d0 uncrustify libraries/AP_Limits/AP_Limit_Module.cpp 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